From a1d6870fde938b1f1a81d8d85311d0f20254071a Mon Sep 17 00:00:00 2001 From: hno <> Date: Thu, 18 Oct 2001 03:37:28 +0000 Subject: [PATCH] SunPRO cc found a bug.. adrian changed the argument name to htime, but forgot to update the assertion. --- src/HttpHeader.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/HttpHeader.cc b/src/HttpHeader.cc index a796b7f425..4102c4277a 100644 --- a/src/HttpHeader.cc +++ b/src/HttpHeader.cc @@ -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))); } -- 2.47.2