summaryrefslogtreecommitdiff
path: root/source4/nmbd/nmbd.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/nmbd/nmbd.c')
-rw-r--r--source4/nmbd/nmbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/nmbd/nmbd.c b/source4/nmbd/nmbd.c
index 2b7d8033a2..166e84bfbe 100644
--- a/source4/nmbd/nmbd.c
+++ b/source4/nmbd/nmbd.c
@@ -658,7 +658,7 @@ static BOOL open_sockets(BOOL isdaemon, int port)
exit(1);
}
- setup_logging( argv[0], log_stdout );
+ setup_logging( argv[0], log_stdout?DEBUG_STDOUT : DEBUG_FILE );
reopen_logs();