]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Removed repeated assertion from httpHdrRangeRespSpecPackInto
authorwessels <>
Sat, 5 May 2007 02:30:16 +0000 (02:30 +0000)
committerwessels <>
Sat, 5 May 2007 02:30:16 +0000 (02:30 +0000)
src/HttpHdrContRange.cc

index bc5d21a8b13863f058767b0df2112d8e083b968c..caade261b23cc066803b689353d012ff96bb8c11 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: HttpHdrContRange.cc,v 1.19 2007/04/30 16:56:09 wessels Exp $
+ * $Id: HttpHdrContRange.cc,v 1.20 2007/05/04 20:30:16 wessels Exp $
  *
  * DEBUG: section 68    HTTP Content-Range Header
  * AUTHOR: Alex Rousskov
@@ -114,7 +114,6 @@ httpHdrRangeRespSpecPackInto(const HttpHdrRangeSpec * spec, Packer * p)
 {
     /* Ensure typecast is safe */
     assert (spec->length >= 0);
-    assert (spec->length >= 0);
 
     if (!known_spec((size_t)spec->offset) || !known_spec((size_t)spec->length))
         packerPrintf(p, "*");