summaryrefslogtreecommitdiff
path: root/source3/printing/notify.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-08 16:29:31 +0200
committerVolker Lendecke <vl@samba.org>2010-08-08 18:09:35 +0200
commit06cf2ae6ea3c8ef5e092dc3b465461746f3d466b (patch)
treef361653c352cc14ff6547f03647735256440711b /source3/printing/notify.c
parent7a9f94dae87061b15245314cbe6d079f62f1db98 (diff)
downloadsamba-06cf2ae6ea3c8ef5e092dc3b465461746f3d466b.tar.gz
samba-06cf2ae6ea3c8ef5e092dc3b465461746f3d466b.tar.bz2
samba-06cf2ae6ea3c8ef5e092dc3b465461746f3d466b.zip
s3: Lift the server_messaging_context from notify_job_username
Diffstat (limited to 'source3/printing/notify.c')
-rw-r--r--source3/printing/notify.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/printing/notify.c b/source3/printing/notify.c
index 17dceaec3a..de073f42ec 100644
--- a/source3/printing/notify.c
+++ b/source3/printing/notify.c
@@ -474,10 +474,12 @@ void notify_job_total_pages(struct tevent_context *ev,
pages, 0, 0);
}
-void notify_job_username(const char *sharename, uint32 jobid, char *name)
+void notify_job_username(struct tevent_context *ev,
+ struct messaging_context *msg_ctx,
+ const char *sharename, uint32 jobid, char *name)
{
send_notify_field_buffer(
- server_event_context(), server_messaging_context(),
+ ev, msg_ctx,
sharename, JOB_NOTIFY_TYPE, JOB_NOTIFY_FIELD_USER_NAME,
jobid, strlen(name) + 1, name);
}