From 5883bc73c1d7f9c92c74eedf7b2eca9953c5c7a5 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 4 Nov 2002 14:50:08 +0000 Subject: Handle -p correctly (This used to be commit b69d5fffd97890f80df6675fb71bc230aacc8234) --- source3/smbd/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/smbd/server.c b/source3/smbd/server.c index b17ca7ba2c..3d9a4675b2 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -630,7 +630,7 @@ static void init_structs(void ) {"daemon", 'D', POPT_ARG_VAL, &is_daemon, True, "Become a daemon (default)" }, {"interactive", 'i', POPT_ARG_VAL, &interactive, True, "Run interactive (not a daemon)"}, {"build-options", 'b', POPT_ARG_NONE, NULL, 'b', "Print build options" }, - {"port", 'p', POPT_ARG_STRING, ports, 0, "Listen on the specified ports"}, + {"port", 'p', POPT_ARG_STRING, &ports, 0, "Listen on the specified ports"}, {NULL, 0, POPT_ARG_INCLUDE_TABLE, popt_common_debug}, {NULL, 0, POPT_ARG_INCLUDE_TABLE, popt_common_configfile}, {NULL, 0, POPT_ARG_INCLUDE_TABLE, popt_common_socket_options}, -- cgit