From: hno <> Date: Thu, 10 Jul 2003 23:48:04 +0000 (+0000) Subject: Fix httpHeaderDelById compile failure. Was a old sin where assert_eid was X-Git-Tag: SQUID_3_0_PRE1~44 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e6ca7a9b3bf7adbd3f9c3d80ac811dda20db929c;p=thirdparty%2Fsquid.git Fix httpHeaderDelById compile failure. Was a old sin where assert_eid was abused instead of assert. No idea why gcc did not trigger on this issue until now. The error has been there forwever (17-Oct-01). --- diff --git a/src/HttpHeader.cc b/src/HttpHeader.cc index 54dc20de63..72ff8a9926 100644 --- a/src/HttpHeader.cc +++ b/src/HttpHeader.cc @@ -1,6 +1,6 @@ /* - * $Id: HttpHeader.cc,v 1.89 2003/03/10 04:56:36 robertc Exp $ + * $Id: HttpHeader.cc,v 1.90 2003/07/10 17:48:04 hno Exp $ * * DEBUG: section 55 HTTP Header * AUTHOR: Alex Rousskov @@ -608,7 +608,7 @@ httpHeaderDelById(HttpHeader * hdr, http_hdr_type id) debug(55, 8) ("%p del-by-id %d\n", hdr, id); assert(hdr); assert_eid(id); - assert_eid(id != HDR_OTHER); /* does not make sense */ + assert(id != HDR_OTHER); /* does not make sense */ if (!CBIT_TEST(hdr->mask, id)) return 0;