]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Had the sign wrong on a recent patch to prevent negative entry->timestamp
authorwessels <>
Sat, 24 Mar 2001 03:19:11 +0000 (03:19 +0000)
committerwessels <>
Sat, 24 Mar 2001 03:19:11 +0000 (03:19 +0000)
values.

src/store.cc

index 9ba6228fa93bf8f3a8afb521d20fc95435fa9502..4f6f2161c293cda59ca3374f5db6bfe01b1bd534 100644 (file)
@@ -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;