]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
fix eventNextTime bug
authorwessels <>
Wed, 8 Jan 1997 04:49:51 +0000 (04:49 +0000)
committerwessels <>
Wed, 8 Jan 1997 04:49:51 +0000 (04:49 +0000)
src/event.cc

index 0dad20a4ac4e5f6db101b0728871835f25287356..a08dc1bb0d07ff7c8647182520a9f19216f891c8 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: event.cc,v 1.3 1996/12/14 18:54:59 wessels Exp $
+ * $Id: event.cc,v 1.4 1997/01/07 21:49:51 wessels Exp $
  *
  * DEBUG: section 41    Event Processing
  * AUTHOR: Henrik Nordstrom
@@ -86,5 +86,5 @@ eventNextTime(void)
 {
     if (!tasks)
        return (time_t) 10;
-    return tasks->when > squid_curtime;
+    return tasks->when - squid_curtime;
 }