summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-08 14:42:47 +0200
committerVolker Lendecke <vl@samba.org>2010-08-08 16:03:26 +0200
commit8dcbeecd6d0aac40da23aef8a4e126faa1bf43e2 (patch)
treea42cd77e6b02f990f1e5182d58849b224c7a0a09 /source3/rpc_server
parent4a514d2261b7528696f96bb29717fb7a20708869 (diff)
downloadsamba-8dcbeecd6d0aac40da23aef8a4e126faa1bf43e2.tar.gz
samba-8dcbeecd6d0aac40da23aef8a4e126faa1bf43e2.tar.bz2
samba-8dcbeecd6d0aac40da23aef8a4e126faa1bf43e2.zip
s3: Lift the smbd_messaging_context from print_job_delete
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_spoolss_nt.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c
index 7ec0162f1a..097110cca0 100644
--- a/source3/rpc_server/srv_spoolss_nt.c
+++ b/source3/rpc_server/srv_spoolss_nt.c
@@ -5405,7 +5405,8 @@ WERROR _spoolss_AbortPrinter(struct pipes_struct *p,
return WERR_SPL_NO_STARTDOC;
}
- errcode = print_job_delete(p->server_info, snum, Printer->jobid);
+ errcode = print_job_delete(p->server_info, p->msg_ctx, snum,
+ Printer->jobid);
return errcode;
}
@@ -6684,7 +6685,7 @@ WERROR _spoolss_SetJob(struct pipes_struct *p,
switch (r->in.command) {
case SPOOLSS_JOB_CONTROL_CANCEL:
case SPOOLSS_JOB_CONTROL_DELETE:
- errcode = print_job_delete(p->server_info,
+ errcode = print_job_delete(p->server_info, p->msg_ctx,
snum, r->in.job_id);
if (W_ERROR_EQUAL(errcode, WERR_PRINTER_HAS_JOBS_QUEUED)) {
errcode = WERR_OK;