summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-08 14:44:32 +0200
committerVolker Lendecke <vl@samba.org>2010-08-08 16:03:26 +0200
commit2811c258f6e01d10c0eb0cb0537f96bf5f1d6275 (patch)
treedb3940c8f0c82f6891387e45c6bb5a79a33d6472 /source3/rpc_server
parent8dcbeecd6d0aac40da23aef8a4e126faa1bf43e2 (diff)
downloadsamba-2811c258f6e01d10c0eb0cb0537f96bf5f1d6275.tar.gz
samba-2811c258f6e01d10c0eb0cb0537f96bf5f1d6275.tar.bz2
samba-2811c258f6e01d10c0eb0cb0537f96bf5f1d6275.zip
s3: Lift the smbd_messaging_context from print_job_pause
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_spoolss_nt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c
index 097110cca0..db8fa363bc 100644
--- a/source3/rpc_server/srv_spoolss_nt.c
+++ b/source3/rpc_server/srv_spoolss_nt.c
@@ -6692,7 +6692,8 @@ WERROR _spoolss_SetJob(struct pipes_struct *p,
}
break;
case SPOOLSS_JOB_CONTROL_PAUSE:
- if (print_job_pause(p->server_info, snum, r->in.job_id, &errcode)) {
+ if (print_job_pause(p->server_info, p->msg_ctx,
+ snum, r->in.job_id, &errcode)) {
errcode = WERR_OK;
}
break;