]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SunPRO cc found a bug.. adrian changed the argument name to htime,
authorhno <>
Thu, 18 Oct 2001 03:37:28 +0000 (03:37 +0000)
committerhno <>
Thu, 18 Oct 2001 03:37:28 +0000 (03:37 +0000)
but forgot to update the assertion.

src/HttpHeader.cc

index a796b7f4259cf58588e526671df4f3544d55ed5b..4102c4277a39c485a67bc5a934abe1768d82a36f 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: HttpHeader.cc,v 1.72 2001/10/17 12:41:49 hno Exp $
+ * $Id: HttpHeader.cc,v 1.73 2001/10/17 21:37:28 hno Exp $
  *
  * DEBUG: section 55    HTTP Header
  * AUTHOR: Alex Rousskov
@@ -688,7 +688,7 @@ httpHeaderPutTime(HttpHeader * hdr, http_hdr_type id, time_t htime)
 {
     assert_eid(id);
     assert(Headers[id].type == ftDate_1123);   /* must be of an appropriate type */
-    assert(time >= 0);
+    assert(htime >= 0);
     httpHeaderAddEntry(hdr, httpHeaderEntryCreate(id, NULL, mkrfc1123(htime)));
 }