s3: Remove a use of smbd_server_fd() in smbd main()
authorVolker Lendecke <vl@samba.org>
Sat, 28 Aug 2010 14:58:54 +0000 (16:58 +0200)
committerVolker Lendecke <vl@samba.org>
Sun, 29 Aug 2010 19:55:24 +0000 (21:55 +0200)
The effect this might have is that we set the socket options a bit later in
inetd mode.

source3/smbd/server.c

index cbd6a9c4053025f6b59300274f50bb2a78c18aae..6f4fb5a0e78d5900732fa1173a1ea58fe10c9021 100644 (file)
@@ -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);
        }