From d4f0db33b2e81da5a26f1c0ad7638aeed78e8c4b Mon Sep 17 00:00:00 2001 From: Olaf Rempel Date: Thu, 22 Jun 2006 20:52:54 +0200 Subject: [PATCH] debug fix --- sammler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sammler.c b/sammler.c index b85f761..9dccb87 100644 --- a/sammler.c +++ b/sammler.c @@ -80,7 +80,7 @@ int main(int argc, char *argv[]) /* check logfile */ char *logfile = config_get_string("global", "logfile", DEFAULT_LOGFILE); - if (logfile != NULL && debug != 0) { + if (logfile != NULL && debug == 0) { /* start logging */ if (!log_init(logfile)) exit(-1);