]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fixed issue introduced by debugs() change
authorFrancesco Chemolli <kinkie@squid-cache.org>
Sat, 10 Nov 2012 21:00:41 +0000 (22:00 +0100)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Sat, 10 Nov 2012 21:00:41 +0000 (22:00 +0100)
src/Debug.h

index 7c092e01629bc91746da655243d2460c44539807..a117d85f42ac4af6186c33689be48bd4c91970db 100644 (file)
@@ -108,7 +108,7 @@ const char * SkipBuildPrefix(const char* path);
    do { \
         if ((Debug::level = (LEVEL)) <= Debug::Levels[SECTION]) { \
             std::ostream &_dbo=Debug::getDebugOut(); \
-            if (LEVEL > DBG_IMPORTANT) \
+            if (Debug::level > DBG_IMPORTANT) \
                 _dbo << SkipBuildPrefix(__FILE__)<<"("<<__LINE__<<") "<<__FUNCTION__<<": "; \
             _dbo << CONTENT; \
             Debug::finishDebug(); \