summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-08 15:09:47 +0200
committerVolker Lendecke <vl@samba.org>2010-08-08 18:09:33 +0200
commit39da717fe1583308239278615ac44f8b910c50e3 (patch)
tree87c7d0f98236c0297cf1dbf8c3f43e66a58b9495 /source3/rpc_server
parent7c7ffb70fb53c8cedd388c016836d13107f28ac1 (diff)
downloadsamba-39da717fe1583308239278615ac44f8b910c50e3.tar.gz
samba-39da717fe1583308239278615ac44f8b910c50e3.tar.bz2
samba-39da717fe1583308239278615ac44f8b910c50e3.zip
s3: Lift the smbd_messaging_context from reload_services
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_spoolss_nt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c
index ac95486d56..a58786ce61 100644
--- a/source3/rpc_server/srv_spoolss_nt.c
+++ b/source3/rpc_server/srv_spoolss_nt.c
@@ -341,7 +341,7 @@ static WERROR delete_printer_hook(TALLOC_CTX *ctx, NT_USER_TOKEN *token,
/* go ahead and re-read the services immediately */
become_root();
- reload_services(false);
+ reload_services(msg_ctx, false);
unbecome_root();
if ( lp_servicenumber( sharename ) > 0 )
@@ -5682,7 +5682,7 @@ static bool add_printer_hook(TALLOC_CTX *ctx, NT_USER_TOKEN *token,
/* reload our services immediately */
become_root();
- reload_services(false);
+ reload_services(msg_ctx, false);
unbecome_root();
numlines = 0;