From 8d256b8f30e726bec6755712121840d3a4c9b620 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 28 Aug 2010 16:19:31 +0200 Subject: 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. --- source3/rpc_server/srv_spoolss_nt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3') 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; -- cgit