diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-08-15 18:33:43 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-08-15 18:33:43 +0000 |
commit | 8e4ab747b02207671203d40cd2a78692da78faef (patch) | |
tree | c4ebd704ba8a88f67513a61f4e4e5e11e78d6132 /source4/nsswitch | |
parent | efacfb37fc0d7310c72c40bfed4b52ecaf365b11 (diff) | |
download | samba-8e4ab747b02207671203d40cd2a78692da78faef.tar.gz samba-8e4ab747b02207671203d40cd2a78692da78faef.tar.xz samba-8e4ab747b02207671203d40cd2a78692da78faef.zip |
more fixes from the IRIX compiler (thanks herb!)
(This used to be commit 4cf3839b727c77a727abb558bd9473119a092913)
Diffstat (limited to 'source4/nsswitch')
-rw-r--r-- | source4/nsswitch/winbindd.c | 2 | ||||
-rw-r--r-- | source4/nsswitch/wins.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/nsswitch/winbindd.c b/source4/nsswitch/winbindd.c index ad37768c090..23394f5e8ce 100644 --- a/source4/nsswitch/winbindd.c +++ b/source4/nsswitch/winbindd.c @@ -892,7 +892,7 @@ static void usage(void) snprintf(logfile, sizeof(logfile), "%s/log.winbindd", dyn_LOGFILEBASE); lp_set_logfile(logfile); - setup_logging("winbindd", log_stdout); + setup_logging("winbindd", log_stdout?DEBUG_STDOUT:DEBUG_FILE); reopen_logs(); DEBUG(1, ("winbindd version %s started.\n", VERSION ) ); diff --git a/source4/nsswitch/wins.c b/source4/nsswitch/wins.c index 187748d285b..d5791d7af50 100644 --- a/source4/nsswitch/wins.c +++ b/source4/nsswitch/wins.c @@ -79,7 +79,7 @@ static void nss_wins_init(void) AllowDebugChange = False; TimeInit(); - setup_logging("nss_wins",False); + setup_logging("nss_wins",DEBUG_FILE); lp_load(dyn_CONFIGFILE,True,False,False); load_interfaces(); } |