summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-08 17:17:05 +0200
committerVolker Lendecke <vl@samba.org>2010-08-08 18:09:38 +0200
commitef208c5571bb20a0701f1da845c07f38f84c26e1 (patch)
treef0b60dac31ed6da99a2192f79ff2a9d172035a36 /source3/printing
parentd1f3a2efb7eef8372b7431cc5de3f8ab5d6ac981 (diff)
downloadsamba-ef208c5571bb20a0701f1da845c07f38f84c26e1.tar.gz
samba-ef208c5571bb20a0701f1da845c07f38f84c26e1.tar.bz2
samba-ef208c5571bb20a0701f1da845c07f38f84c26e1.zip
s3: Lift the server_messaging_context from print_job_endpage
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/printing.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c
index 0a14a3ad42..69191ef9a8 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -2778,7 +2778,8 @@ fail:
Update the number of pages spooled to jobid
****************************************************************************/
-void print_job_endpage(int snum, uint32 jobid)
+void print_job_endpage(struct messaging_context *msg_ctx,
+ int snum, uint32 jobid)
{
const char* sharename = lp_const_servicename(snum);
struct printjob *pjob;
@@ -2791,8 +2792,7 @@ void print_job_endpage(int snum, uint32 jobid)
return;
pjob->page_count++;
- pjob_store(server_event_context(), server_messaging_context(),
- sharename, jobid, pjob);
+ pjob_store(server_event_context(), msg_ctx, sharename, jobid, pjob);
}
/****************************************************************************