From: Mark Spencer Date: Thu, 19 May 2005 20:33:55 +0000 (+0000) Subject: Revert improper patch from bug #4294 X-Git-Tag: 1.2.0-beta1~601 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ebd2196ab74dadc0c12faf52d5cd206f5b97cab9;p=thirdparty%2Fasterisk.git Revert improper patch from bug #4294 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5744 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/logger.c b/logger.c index 3bf6f02fb0..49444df9e0 100755 --- a/logger.c +++ b/logger.c @@ -671,7 +671,7 @@ void ast_log(int level, const char *file, int line, const char *function, const va_list ap; - if ((!option_verbose && (level == __LOG_VERBOSE)) || (!option_debug && (level == __LOG_DEBUG))) { + if (!option_verbose && !option_debug && (level == __LOG_DEBUG)) { return; } /* Ignore anything that never gets logged anywhere */