diff options
author | Volker Lendecke <vl@samba.org> | 2010-08-28 16:19:31 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-08-29 21:55:23 +0200 |
commit | 8d256b8f30e726bec6755712121840d3a4c9b620 (patch) | |
tree | 699c2df69ad7cf1b4cb0d68f9b912cf2e8763ccc | |
parent | 291526b9cf54bab0e099896ebb668d24d151b5ab (diff) | |
download | samba-8d256b8f30e726bec6755712121840d3a4c9b620.tar.gz samba-8d256b8f30e726bec6755712121840d3a4c9b620.tar.bz2 samba-8d256b8f30e726bec6755712121840d3a4c9b620.zip |
s3: Remove some uses of smbd_server_fd()
The change in behaviour is that we don't detect "socket option" changes anymore
when printers are added or removed.
-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 4e97122736..6ce377db6c 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -342,7 +342,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, smbd_server_fd(), false); + reload_services(msg_ctx, -1, false); unbecome_root(); if ( lp_servicenumber( sharename ) > 0 ) @@ -5765,7 +5765,7 @@ static bool add_printer_hook(TALLOC_CTX *ctx, NT_USER_TOKEN *token, /* reload our services immediately */ become_root(); - reload_services(msg_ctx, smbd_server_fd(), false); + reload_services(msg_ctx, -1, false); unbecome_root(); numlines = 0; |