From: Will Roberts Date: Wed, 22 Jan 2014 03:18:56 +0000 (-0700) Subject: Bug 4008: HttpHeader warnOnError should be an int not a bool X-Git-Tag: SQUID_3_4_3~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72ca4b956a1ff0baf94792d45464b55b54296929;p=thirdparty%2Fsquid.git Bug 4008: HttpHeader warnOnError should be an int not a bool --- diff --git a/src/HttpHeader.cc b/src/HttpHeader.cc index eb3e879bb2..8105063ef4 100644 --- a/src/HttpHeader.cc +++ b/src/HttpHeader.cc @@ -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);