summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_spoolss_util.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-08 09:37:43 +0200
committerVolker Lendecke <vl@samba.org>2010-08-08 16:03:16 +0200
commit9751d7613b3db543a2cdb515c597d9600531dd76 (patch)
tree5ab2b1e3f6ee8899655136aa42dfc6ec33f450af /source3/rpc_server/srv_spoolss_util.c
parentd7f8a6f82d56d7d46a0bcf8ed833ad09b9d00f26 (diff)
downloadsamba-9751d7613b3db543a2cdb515c597d9600531dd76.tar.gz
samba-9751d7613b3db543a2cdb515c597d9600531dd76.tar.bz2
samba-9751d7613b3db543a2cdb515c597d9600531dd76.zip
s3: Lift the smbd_messaging_context from winreg_update_printer
Diffstat (limited to 'source3/rpc_server/srv_spoolss_util.c')
-rw-r--r--source3/rpc_server/srv_spoolss_util.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_spoolss_util.c b/source3/rpc_server/srv_spoolss_util.c
index c96c19b1be..2f28f36118 100644
--- a/source3/rpc_server/srv_spoolss_util.c
+++ b/source3/rpc_server/srv_spoolss_util.c
@@ -1603,6 +1603,7 @@ WERROR winreg_create_printer(TALLOC_CTX *mem_ctx,
result = winreg_update_printer(tmp_ctx,
server_info,
+ msg_ctx,
sharename,
info2_mask,
info2,
@@ -1625,6 +1626,7 @@ done:
WERROR winreg_update_printer(TALLOC_CTX *mem_ctx,
struct auth_serversupplied_info *server_info,
+ struct messaging_context *msg_ctx,
const char *sharename,
uint32_t info2_mask,
struct spoolss_SetPrinterInfo2 *info2,
@@ -1657,7 +1659,7 @@ WERROR winreg_update_printer(TALLOC_CTX *mem_ctx,
result = winreg_printer_openkey(tmp_ctx,
server_info,
- smbd_messaging_context(),
+ msg_ctx,
&winreg_pipe,
path,
"",