From: wessels <> Date: Tue, 2 Apr 1996 01:23:52 +0000 (+0000) Subject: use new getCurrentTime() X-Git-Tag: SQUID_3_0_PRE1~6313 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc64db0f3457b450f8102e5d7dedfe97018e861c;p=thirdparty%2Fsquid.git use new getCurrentTime() --- diff --git a/src/main.cc b/src/main.cc index 3d4267d5e9..20fdc2fefd 100644 --- a/src/main.cc +++ b/src/main.cc @@ -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--)