From d07330ee7bccb93d30e2323c905a483141fe5e4b Mon Sep 17 00:00:00 2001 From: amosjeffries <> Date: Sun, 24 Feb 2008 19:02:51 +0000 Subject: [PATCH] Author: hno Bug #2159: WCCPv2 assertion failure on Mask assignment this patch aligns the code with the Squid-2 implementation. --- src/wccp2.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.47.2