]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
use new getCurrentTime()
authorwessels <>
Tue, 2 Apr 1996 01:23:52 +0000 (01:23 +0000)
committerwessels <>
Tue, 2 Apr 1996 01:23:52 +0000 (01:23 +0000)
src/main.cc

index 3d4267d5e9e05400d6f8bdb04c782f7c9ab3c709..20fdc2fefd2d0766b7fb4209a0c1a0685a31beb6 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: main.cc,v 1.16 1996/03/29 21:19:22 wessels Exp $ */
+/* $Id: main.cc,v 1.17 1996/04/01 18:23:52 wessels Exp $ */
 
 /* DEBUG: Section 1             main: startup and main loop */
 
@@ -53,7 +53,7 @@ int main(argc, argv)
     int n;                     /* # of GC'd objects */
     time_t last_maintain = 0;
 
-    cached_starttime = cached_curtime = time((time_t *) NULL);
+    cached_starttime = getCurrentTime();
     failure_notify = fatal_dump;
 
     for (n = getMaxFD(); n > 2; n--)