diff options
author | Volker Lendecke <vl@samba.org> | 2010-08-15 16:13:00 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-08-18 11:18:21 +0200 |
commit | ac7b63384d3f8afdb768f95e7744380f4df07d76 (patch) | |
tree | a568644b63e97912f17e010c83065c1eb38ab909 /source3/rpc_server | |
parent | 59289d4fa9e5f6f2ff6abd13e8f07ca6ee3e2a3c (diff) | |
download | samba-ac7b63384d3f8afdb768f95e7744380f4df07d76.tar.gz samba-ac7b63384d3f8afdb768f95e7744380f4df07d76.tar.bz2 samba-ac7b63384d3f8afdb768f95e7744380f4df07d76.zip |
s3: Lift smbd_server_fd from reload_services()
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 4 |
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 893ddce531..4854488ba6 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(msg_ctx, false); + reload_services(msg_ctx, smbd_server_fd(), false); unbecome_root(); if ( lp_servicenumber( sharename ) > 0 ) @@ -5724,7 +5724,7 @@ static bool add_printer_hook(TALLOC_CTX *ctx, NT_USER_TOKEN *token, /* reload our services immediately */ become_root(); - reload_services(msg_ctx, false); + reload_services(msg_ctx, smbd_server_fd(), false); unbecome_root(); numlines = 0; |