summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-08 14:52:59 +0200
committerVolker Lendecke <vl@samba.org>2010-08-08 16:03:27 +0200
commitcc280f0cd1f970b044011dee386e15ec87eccec8 (patch)
treeee213b6dadfef0b644cc2a30f4234986f0740fe3 /source3/rpc_server
parent9723f33ef54235b27d0126810fdd7546d2510f23 (diff)
downloadsamba-cc280f0cd1f970b044011dee386e15ec87eccec8.tar.gz
samba-cc280f0cd1f970b044011dee386e15ec87eccec8.tar.bz2
samba-cc280f0cd1f970b044011dee386e15ec87eccec8.zip
s3: Lift the smbd_messaging_context from print_queue_purge
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 6d6463876a..ac95486d56 100644
--- a/source3/rpc_server/srv_spoolss_nt.c
+++ b/source3/rpc_server/srv_spoolss_nt.c
@@ -5369,7 +5369,7 @@ static WERROR control_printer(struct policy_handle *handle, uint32_t command,
errcode = print_queue_resume(p->server_info, p->msg_ctx, snum);
break;
case SPOOLSS_PRINTER_CONTROL_PURGE:
- errcode = print_queue_purge(p->server_info, snum);
+ errcode = print_queue_purge(p->server_info, p->msg_ctx, snum);
break;
default:
return WERR_UNKNOWN_LEVEL;