From aa5fd419b27b7c52eccc6c129b17d606e4635b3e Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 8 Aug 2010 16:31:41 +0200 Subject: s3: Lift the server_messaging_context from notify_job_name --- source3/printing/notify.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'source3/printing/notify.c') diff --git a/source3/printing/notify.c b/source3/printing/notify.c index de073f42ec..97d59c5318 100644 --- a/source3/printing/notify.c +++ b/source3/printing/notify.c @@ -484,10 +484,12 @@ void notify_job_username(struct tevent_context *ev, jobid, strlen(name) + 1, name); } -void notify_job_name(const char *sharename, uint32 jobid, char *name) +void notify_job_name(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_DOCUMENT, jobid, strlen(name) + 1, name); } -- cgit