From e438ef8a4c85ae687817a213b4441e499a970bd0 Mon Sep 17 00:00:00 2001 From: dcp1990 Date: Sun, 5 Jun 2005 18:28:14 +0000 Subject: [PATCH] We weren't even checking! Shame on us! --- phoned/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phoned/log.c b/phoned/log.c index 0346fd3..001d571 100644 --- a/phoned/log.c +++ b/phoned/log.c @@ -63,7 +63,7 @@ int lprintf(enum ltype logtype, const char* fmt, ...) char tmt[128]; now = time(NULL); l = cf.loglevels; - if(!check_loglevel(logtype, l)) + if(check_loglevel(logtype, l) != 1) return -1; strftime(tmt, 128, "%d%b %H:%M:%S: ", localtime(&now)); fmtp = fmt;