summaryrefslogtreecommitdiff
path: root/source4/nsswitch
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-08-15 18:33:43 +0000
committerAndrew Tridgell <tridge@samba.org>2003-08-15 18:33:43 +0000
commit8e4ab747b02207671203d40cd2a78692da78faef (patch)
treec4ebd704ba8a88f67513a61f4e4e5e11e78d6132 /source4/nsswitch
parentefacfb37fc0d7310c72c40bfed4b52ecaf365b11 (diff)
downloadsamba-8e4ab747b02207671203d40cd2a78692da78faef.tar.gz
samba-8e4ab747b02207671203d40cd2a78692da78faef.tar.bz2
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.c2
-rw-r--r--source4/nsswitch/wins.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/nsswitch/winbindd.c b/source4/nsswitch/winbindd.c
index ad37768c09..23394f5e8c 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 187748d285..d5791d7af5 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();
}