]> 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, 22 Jan 2014 03:18:56 +0000 (20:18 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 22 Jan 2014 03:18:56 +0000 (20:18 -0700)
src/HttpHeader.cc

index eb3e879bb2f408aae38034065ed2860e68c36686..8105063ef48e81741921e9b3f79439bb9d216843 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);