From: wessels <> Date: Sat, 24 Mar 2001 03:19:11 +0000 (+0000) Subject: Had the sign wrong on a recent patch to prevent negative entry->timestamp X-Git-Tag: SQUID_3_0_PRE1~1562 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3c31f1355b0bb89ee1d3bfc54923f283988086fb;p=thirdparty%2Fsquid.git Had the sign wrong on a recent patch to prevent negative entry->timestamp values. --- diff --git a/src/store.cc b/src/store.cc index 9ba6228fa9..4f6f2161c2 100644 --- a/src/store.cc +++ b/src/store.cc @@ -1,6 +1,6 @@ /* - * $Id: store.cc,v 1.537 2001/02/22 20:53:15 wessels Exp $ + * $Id: store.cc,v 1.538 2001/03/23 20:19:11 wessels Exp $ * * DEBUG: section 20 Storage Manager * AUTHOR: Harvest Derived @@ -1033,7 +1033,7 @@ storeTimestampsSet(StoreEntry * entry) * squid_curtime because it results in a negative served_date. */ if (age > squid_curtime - served_date) - if (squid_curtime < age) + if (squid_curtime > age) served_date = squid_curtime - age; entry->expires = reply->expires; entry->lastmod = reply->last_modified;