summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_spoolss_nt.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_nt.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_nt.c')
-rw-r--r--source3/rpc_server/srv_spoolss_nt.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c
index 545dae2c37..4d3d7565af 100644
--- a/source3/rpc_server/srv_spoolss_nt.c
+++ b/source3/rpc_server/srv_spoolss_nt.c
@@ -6002,6 +6002,7 @@ static WERROR update_printer(struct pipes_struct *p,
}
result = winreg_update_printer(tmp_ctx,
p->server_info,
+ p->msg_ctx,
printer->sharename,
printer_mask,
printer,
@@ -6085,6 +6086,7 @@ static WERROR update_printer_devmode(struct pipes_struct *p,
return winreg_update_printer(p->mem_ctx,
p->server_info,
+ p->msg_ctx,
lp_const_servicename(snum),
info2_mask,
NULL,
@@ -7314,6 +7316,7 @@ static WERROR spoolss_addprinterex_level_2(struct pipes_struct *p,
err = winreg_update_printer(p->mem_ctx,
p->server_info,
+ p->msg_ctx,
info2->sharename,
info2_mask,
info2,