From: wessels <> Date: Thu, 18 Apr 1996 03:39:55 +0000 (+0000) Subject: time(NULL) nit X-Git-Tag: SQUID_3_0_PRE1~6113 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=931b50396a87640005958e34c7ba4aff2f0dc8df;p=thirdparty%2Fsquid.git time(NULL) nit --- diff --git a/src/main.cc b/src/main.cc index ab9d8784d0..7173d29c0a 100644 --- a/src/main.cc +++ b/src/main.cc @@ -1,4 +1,4 @@ -/* $Id: main.cc,v 1.43 1996/04/17 19:26:40 wessels Exp $ */ +/* $Id: main.cc,v 1.44 1996/04/17 21:39:55 wessels Exp $ */ /* DEBUG: Section 1 main: startup and main loop */ @@ -306,7 +306,7 @@ int main(argc, argv) /* main loop */ if (getCleanRate() > 0) - next_cleaning = time(0L) + getCleanRate(); + next_cleaning = time(NULL) + getCleanRate(); while (1) { loop_delay = (time_t) 60; /* maintain cache storage */