summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-08 14:50:15 +0200
committerVolker Lendecke <vl@samba.org>2010-08-08 16:03:26 +0200
commit5f9165a7eaa081b15f2ca435ca86210eaa5c4752 (patch)
tree7874b62e2d8c7e6309ea1809cdd4c3f73dbfb23d /source3/rpc_server
parent9441e8c52c4d624f80bf826daa312b45cd0a80f4 (diff)
downloadsamba-5f9165a7eaa081b15f2ca435ca86210eaa5c4752.tar.gz
samba-5f9165a7eaa081b15f2ca435ca86210eaa5c4752.tar.bz2
samba-5f9165a7eaa081b15f2ca435ca86210eaa5c4752.zip
s3: Lift the smbd_messaging_context from print_queue_pause
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_spoolss_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c
index 3a83898a6a..48d7fbf520 100644
--- a/source3/rpc_server/srv_spoolss_nt.c
+++ b/source3/rpc_server/srv_spoolss_nt.c
@@ -5362,7 +5362,7 @@ static WERROR control_printer(struct policy_handle *handle, uint32_t command,
switch (command) {
case SPOOLSS_PRINTER_CONTROL_PAUSE:
- errcode = print_queue_pause(p->server_info, snum);
+ errcode = print_queue_pause(p->server_info, p->msg_ctx, snum);
break;
case SPOOLSS_PRINTER_CONTROL_RESUME:
case SPOOLSS_PRINTER_CONTROL_UNPAUSE: