]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Revert improper patch from bug #4294
authorMark Spencer <markster@digium.com>
Thu, 19 May 2005 20:33:55 +0000 (20:33 +0000)
committerMark Spencer <markster@digium.com>
Thu, 19 May 2005 20:33:55 +0000 (20:33 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5744 65c4cc65-6c06-0410-ace0-fbb531ad65f3

logger.c

index 3bf6f02fb033f42df001a423df331a8b54918e73..49444df9e04a317c854bf3f9c60df5576c743361 100755 (executable)
--- 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 */