From: amosjeffries <> Date: Sun, 24 Feb 2008 19:02:51 +0000 (+0000) Subject: Author: hno X-Git-Tag: SQUID_3_0_STABLE2~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d07330ee7bccb93d30e2323c905a483141fe5e4b;p=thirdparty%2Fsquid.git Author: hno Bug #2159: WCCPv2 assertion failure on Mask assignment this patch aligns the code with the Squid-2 implementation. --- diff --git a/src/wccp2.cc b/src/wccp2.cc index 98e214195b..9a5c7ccfdf 100644 --- a/src/wccp2.cc +++ b/src/wccp2.cc @@ -1,6 +1,6 @@ /* - * $Id: wccp2.cc,v 1.19 2007/11/15 16:47:35 wessels Exp $ + * $Id: wccp2.cc,v 1.19.2.1 2008/02/24 12:02:51 amosjeffries Exp $ * * DEBUG: section 80 WCCP Support * AUTHOR: Steven Wilton @@ -1876,7 +1876,7 @@ wccp2AssignBuckets(void *voidnotused) /* Update the value according the the "correct" formula */ - for (value++; (value & 0x1741) != value; value++) { + for (; (value & 0x1741) != value; value++) { assert(value <= 0x1741); }