]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix nested debugs() calls
authorAlexander Komyagin <komyagin@altell.ru>
Mon, 18 Feb 2013 11:37:32 +0000 (00:37 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 18 Feb 2013 11:37:32 +0000 (00:37 +1300)
commit5c2e1dab389048071cdce7aaffd7d0de6316d24b
treea40997696969a23b837066fc256ede7bbce071f6
parentcdeeb88d386419b6ff6a18ae3d86fd6759d8a3dd
Fix nested debugs() calls

Since debugs() is a macro, it should not change static Debugs::level
before putting the debug message to the internal stream. Otherwise we
encounter problems when debug message itself containg calls to debugs().
src/Debug.h