summaryrefslogtreecommitdiff
path: root/source3/printing/notify.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/printing/notify.c')
-rw-r--r--source3/printing/notify.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/source3/printing/notify.c b/source3/printing/notify.c
index c8cdc4ec78..17dceaec3a 100644
--- a/source3/printing/notify.c
+++ b/source3/printing/notify.c
@@ -461,13 +461,14 @@ void notify_job_total_bytes(struct tevent_context *ev,
size, 0, 0);
}
-void notify_job_total_pages(const char *sharename, uint32 jobid,
+void notify_job_total_pages(struct tevent_context *ev,
+ struct messaging_context *msg_ctx,
+ const char *sharename, uint32 jobid,
uint32 pages)
{
/* Job id stored in id field, status in value1 */
- send_notify_field_values(server_event_context(),
- server_messaging_context(),
+ send_notify_field_values(ev, msg_ctx,
sharename, JOB_NOTIFY_TYPE,
JOB_NOTIFY_FIELD_TOTAL_PAGES, jobid,
pages, 0, 0);