From f9eb8f7e066970d56a814128fd49170348a7fbd8 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Mon, 19 Jun 2000 23:50:02 +0000 Subject: If compiled with --enable-debug, don't even try to log to syslog unless the user forces it in the config file. --- sysdep/unix/log.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sysdep/unix/log.c') 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; } -- cgit v1.2.3