]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 4008: HttpHeader warnOnError should be an int not a bool
authorWill Roberts <squid@bigwillystyle42.com>
Wed, 15 Jan 2014 23:57:54 +0000 (12:57 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 15 Jan 2014 23:57:54 +0000 (12:57 +1300)
src/HttpHeader.cc

index c08d01a53897e0fe7020eceed793d25497e941b2..bd6c0eb08e08f7d59897f18780710e8142fff870 100644 (file)
@@ -549,7 +549,7 @@ HttpHeader::parse(const char *header_start, const char *header_end)
 {
     const char *field_ptr = header_start;
     HttpHeaderEntry *e, *e2;
-    bool warnOnError = (Config.onoff.relaxed_header_parser <= 0 ? DBG_IMPORTANT : 2);
+    int warnOnError = (Config.onoff.relaxed_header_parser <= 0 ? DBG_IMPORTANT : 2);
 
     PROF_start(HttpHeaderParse);