fix move to OPT_LOG_STDOUT
authorStefan Metzmacher <metze@samba.org>
Sat, 20 Oct 2007 08:12:55 +0000 (10:12 +0200)
committerStefan Metzmacher <metze@samba.org>
Sat, 20 Oct 2007 08:12:55 +0000 (10:12 +0200)
metze

source/nmbd/nmbd.c

index 69117ee4ea6946bb19e2f06ab81271490b9dbe0f..fe69587a4bac8015e85a15a72bd076262dd2bd30 100644 (file)
@@ -706,7 +706,7 @@ static bool open_sockets(bool isdaemon, int port)
        {"interactive", 'i', POPT_ARG_NONE, NULL, OPT_INTERACTIVE, "Run interactive (not a daemon)" },
        {"foreground", 'F', POPT_ARG_NONE, NULL, OPT_FORK, "Run daemon in foreground (for daemontools & etc)" },
        {"no-process-group", 0, POPT_ARG_NONE, NULL, OPT_NO_PROCESS_GROUP, "Don't create a new process group" },
-       {"log-stdout", 'S', POPT_ARG_VAL, &log_stdout, True, "Log to stdout" },
+       {"log-stdout", 'S', POPT_ARG_NONE, NULL, OPT_LOG_STDOUT, "Log to stdout" },
        {"hosts", 'H', POPT_ARG_STRING, &p_lmhosts, 'H', "Load a netbios hosts file"},
        {"port", 'p', POPT_ARG_INT, &global_nmb_port, NMB_PORT, "Listen on the specified port" },
        POPT_COMMON_SAMBA