summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-28 16:58:54 +0200
committerVolker Lendecke <vl@samba.org>2010-08-29 21:55:24 +0200
commit64323839261f66cfcb81e524e727c129961c573c (patch)
tree59db0c313d012bc41f5b708a77a26abf14bf3232
parent70df6fcb2ad99b173ec80bc4b678537dcac036c0 (diff)
downloadsamba-64323839261f66cfcb81e524e727c129961c573c.tar.gz
samba-64323839261f66cfcb81e524e727c129961c573c.tar.bz2
samba-64323839261f66cfcb81e524e727c129961c573c.zip
s3: Remove a use of smbd_server_fd() in smbd main()
The effect this might have is that we set the socket options a bit later in inetd mode.
-rw-r--r--source3/smbd/server.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index cbd6a9c405..6f4fb5a0e7 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -1010,8 +1010,7 @@ extern void build_options(bool screen);
* Reloading of the printers will not work here as we don't have a
* server info and rpc services set up. It will be called later.
*/
- if (!reload_services(smbd_messaging_context(), smbd_server_fd(),
- False)) {
+ if (!reload_services(smbd_messaging_context(), -1, False)) {
exit(1);
}