summaryrefslogtreecommitdiff
path: root/source3/printing/printing.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-08 16:26:40 +0200
committerVolker Lendecke <vl@samba.org>2010-08-08 18:09:35 +0200
commitbd6626c40ce9806a6f5bc8aee4fe969028bda928 (patch)
treed6969fbac3ae26fa3ebc5ab35f9f920247ff4583 /source3/printing/printing.c
parentedbed43119212c3642951516a1e6c065bd9db756 (diff)
downloadsamba-bd6626c40ce9806a6f5bc8aee4fe969028bda928.tar.gz
samba-bd6626c40ce9806a6f5bc8aee4fe969028bda928.tar.bz2
samba-bd6626c40ce9806a6f5bc8aee4fe969028bda928.zip
s3: Lift the server_messaging_context from notify_job_total_bytes
Diffstat (limited to 'source3/printing/printing.c')
-rw-r--r--source3/printing/printing.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c
index a305e86bea..b35c868469 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -596,7 +596,9 @@ static void pjob_store_notify(const char* sharename, uint32 jobid, struct printj
map_to_spoolss_status(new_data->status));
if (new_job || old_data->size != new_data->size)
- notify_job_total_bytes(sharename, jobid, new_data->size);
+ notify_job_total_bytes(server_event_context(),
+ server_messaging_context(),
+ sharename, jobid, new_data->size);
if (new_job || old_data->page_count != new_data->page_count)
notify_job_total_pages(sharename, jobid, new_data->page_count);