From: Will Roberts Date: Wed, 15 Jan 2014 23:57:54 +0000 (+1300) Subject: Bug 4008: HttpHeader warnOnError should be an int not a bool X-Git-Tag: SQUID_3_5_0_1~410 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56cd29e6fe1b3bf4821f88295b5b34228c583468;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 c08d01a538..bd6c0eb08e 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);