]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix httpHeaderDelById compile failure. Was a old sin where assert_eid was
authorhno <>
Thu, 10 Jul 2003 23:48:04 +0000 (23:48 +0000)
committerhno <>
Thu, 10 Jul 2003 23:48:04 +0000 (23:48 +0000)
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).

src/HttpHeader.cc

index 54dc20de63e978f41e4cbff015d6c376669d7d21..72ff8a99260de724d66c05517717cc6fe7117c63 100644 (file)
@@ -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;