From f2657b2cb16514d22f01c8909292e7c81c6847e5 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 12 Oct 2004 12:02:18 +0000 Subject: r2937: Make sure all memory is initialized (This used to be commit edf28c42f3c9b41c82a4f642ddae23efbb12c944) --- source4/smbd/server.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'source4/smbd/server.c') diff --git a/source4/smbd/server.c b/source4/smbd/server.c index d25339bfc1..40ec69c3b9 100644 --- a/source4/smbd/server.c +++ b/source4/smbd/server.c @@ -44,14 +44,14 @@ static int binary_smbd_main(int argc,const char *argv[]) const char *model = "standard"; struct poptOption long_options[] = { POPT_AUTOHELP - {"daemon", 'D', POPT_ARG_VAL, &is_daemon, True, "Become a daemon (default)" }, - {"interactive", 'i', POPT_ARG_VAL, &interactive, True, "Run interactive (not a daemon)"}, - {"foreground", 'F', POPT_ARG_VAL, &Fork, False, "Run daemon in foreground (for daemontools & etc)" }, - {"log-stdout", 'S', POPT_ARG_VAL, &log_stdout, True, "Log to stdout" }, - {"port", 'p', POPT_ARG_STRING, NULL, 0, "Listen on the specified ports"}, - {"model", 'M', POPT_ARG_STRING, &model, 0, "select process model"}, POPT_COMMON_SAMBA - { NULL } + {"daemon", 'D', POPT_ARG_VAL, &is_daemon, True, "Become a daemon (default)" , NULL }, + {"interactive", 'i', POPT_ARG_VAL, &interactive, True, "Run interactive (not a daemon)", NULL}, + {"foreground", 'F', POPT_ARG_VAL, &Fork, True, "Run daemon in foreground (for daemontools & etc)" , NULL }, + {"log-stdout", 'S', POPT_ARG_VAL, &log_stdout, True, "Log to stdout", NULL }, + {"port", 'p', POPT_ARG_STRING, NULL, 0, "Listen on the specified ports", "PORTS"}, + {"model", 'M', POPT_ARG_STRING, &model, True, "Select process model", "MODEL"}, + POPT_TABLEEND }; pc = poptGetContext("smbd", argc, argv, long_options, 0); -- cgit