diff options
author | Martin Mares <mj@ucw.cz> | 2000-06-20 01:50:02 +0200 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-06-20 01:50:02 +0200 |
commit | f9eb8f7e066970d56a814128fd49170348a7fbd8 (patch) | |
tree | 110909a619a49857f1a9aa6d76ee89d867263e9b /sysdep/unix/log.c | |
parent | 972fdb45323b75af254cfe6c912c52d3596a230a (diff) | |
download | bird-f9eb8f7e066970d56a814128fd49170348a7fbd8.tar bird-f9eb8f7e066970d56a814128fd49170348a7fbd8.zip |
If compiled with --enable-debug, don't even try to log to syslog unless
the user forces it in the config file.
Diffstat (limited to 'sysdep/unix/log.c')
-rw-r--r-- | sysdep/unix/log.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdep/unix/log.c b/sysdep/unix/log.c index cc15ff3..15f6815 100644 --- a/sysdep/unix/log.c +++ b/sysdep/unix/log.c @@ -207,10 +207,10 @@ log_init(int debug, int init) } void -log_switch(list *l) +log_switch(int debug, list *l) { if (EMPTY_LIST(*l)) - log_init(0, 0); + log_init(debug, 0); else current_log_list = l; } |