From: Amos Jeffries Date: Fri, 18 Apr 2008 05:14:51 +0000 (-0600) Subject: Bug 2318 : compilation issue in some compilers X-Git-Tag: SQUID_3_0_STABLE5~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80b4a9e29d78db577116f99c1abb89d111062038;p=thirdparty%2Fsquid.git Bug 2318 : compilation issue in some compilers --- diff --git a/src/HttpMsg.cc b/src/HttpMsg.cc index 09308867b8..4126ef19c7 100644 --- a/src/HttpMsg.cc +++ b/src/HttpMsg.cc @@ -154,7 +154,7 @@ bool HttpMsg::parse(MemBuf *buf, bool eof, http_status *error) const size_t hdr_len = headersEnd(buf->content(), buf->contentSize()); // TODO: move to httpReplyParseStep() - if (hdr_len > Config.maxReplyHeaderSize || hdr_len <= 0 && (size_t)buf->contentSize() > Config.maxReplyHeaderSize) { + if (hdr_len > Config.maxReplyHeaderSize || (hdr_len <= 0 && (size_t)buf->contentSize() > Config.maxReplyHeaderSize)) { debugs(58, 1, "HttpMsg::parse: Too large reply header (" << hdr_len << " > " << Config.maxReplyHeaderSize); *error = HTTP_HEADER_TOO_LARGE;