diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2002-11-09 17:08:58 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2002-11-09 17:08:58 +0000 |
commit | f09109c7bc32966bb464df0712583b30602d6ad0 (patch) | |
tree | 1565f65ba4d1f9810a54d60b827ce5a733721b91 /source3/nmbd | |
parent | dc5297f413c40f04e1fdae719e29d949e3301091 (diff) | |
download | samba-f09109c7bc32966bb464df0712583b30602d6ad0.tar.gz samba-f09109c7bc32966bb464df0712583b30602d6ad0.tar.bz2 samba-f09109c7bc32966bb464df0712583b30602d6ad0.zip |
Last sync with HEAD
(This used to be commit 1175b62337f5c29954cd5e8dfdc2327c9c80748c)
Diffstat (limited to 'source3/nmbd')
-rw-r--r-- | source3/nmbd/nmbd.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c index 9f4a934fae..50730d40f3 100644 --- a/source3/nmbd/nmbd.c +++ b/source3/nmbd/nmbd.c @@ -661,15 +661,12 @@ static BOOL init_structs(void) **************************************************************************** */ int main(int argc, const char *argv[]) { - extern BOOL append_log; static BOOL opt_interactive = False; poptContext pc; struct poptOption long_options[] = { POPT_AUTOHELP {"daemon", 'D', POPT_ARG_VAL, &is_daemon, True, "Become a daemon(default)" }, - {"log-append", 'a', POPT_ARG_VAL, &append_log, True, "Append to log file" }, {"interactive", 'i', POPT_ARG_VAL, &opt_interactive, True, "Run interactive (not a daemon)" }, - {"log-overwrite", 'o', POPT_ARG_VAL, &append_log, False, "Overwrite log file, don't append" }, {"hosts", 'H', POPT_ARG_STRING, dyn_LMHOSTSFILE, 'H', "Load a netbios hosts file"}, {"port", 'p', POPT_ARG_INT, &global_nmb_port, NMB_PORT, "Listen on the specified port" }, {NULL, 0, POPT_ARG_INCLUDE_TABLE, popt_common_debug }, @@ -683,8 +680,6 @@ static BOOL init_structs(void) int opt; pstring logfile; - append_log = True; /* Default, override with '-o' option. */ - global_nmb_port = NMB_PORT; global_in_nmbd = True; |