From: wessels <> Date: Thu, 29 Aug 1996 02:12:52 +0000 (+0000) Subject: gindent X-Git-Tag: SQUID_3_0_PRE1~5885 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28b2f45fefcf5c77c6a9dfb486bcc554a9cf1596;p=thirdparty%2Fsquid.git gindent --- diff --git a/src/cache_cf.cc b/src/cache_cf.cc index 1b3550e6af..e481db3f41 100644 --- a/src/cache_cf.cc +++ b/src/cache_cf.cc @@ -1,5 +1,5 @@ /* - * $Id: cache_cf.cc,v 1.77 1996/08/28 20:11:30 wessels Exp $ + * $Id: cache_cf.cc,v 1.78 1996/08/28 20:12:52 wessels Exp $ * * DEBUG: section 3 Configuration File Parsing * AUTHOR: Harvest Derived @@ -1354,7 +1354,7 @@ int parseConfigFile(file_name) fflush(stdout); /* print message */ } if (Config.cleanRate < 1) - Config.cleanRate = 86400 * 365; /* one year */ + Config.cleanRate = 86400 * 365; /* one year */ if (Config.Announce.rate < 1) Config.Announce.rate = 86400 * 365; /* one year */ if (Config.dnsChildren < 1) { diff --git a/src/dnsserver.cc b/src/dnsserver.cc index 2e1939611a..f0323ec884 100644 --- a/src/dnsserver.cc +++ b/src/dnsserver.cc @@ -1,6 +1,6 @@ /* - * $Id: dnsserver.cc,v 1.16 1996/08/28 17:21:52 wessels Exp $ + * $Id: dnsserver.cc,v 1.17 1996/08/28 20:12:53 wessels Exp $ * * DEBUG: section 0 DNS Resolver * AUTHOR: Harvest Derived @@ -217,7 +217,7 @@ extern int h_errno; #if LIBRESOLV_DNS_TTL_HACK -extern int _dns_ttl_; /* this is a really *dirty* hack - bne */ +extern int _dns_ttl_; /* this is a really *dirty* hack - bne */ #endif int do_debug = 0; @@ -444,7 +444,7 @@ int main(argc, argv) * for first try it's a dirty hack, by hacking getanswer * to place th e ttl in a global variable */ if (_dns_ttl_ > -1) - printf("$ttl %d\n", _dns_ttl_); + printf("$ttl %d\n", _dns_ttl_); #endif printf("$end\n"); diff --git a/src/ipcache.cc b/src/ipcache.cc index 2cf8f71977..cfa095788f 100644 --- a/src/ipcache.cc +++ b/src/ipcache.cc @@ -1,5 +1,5 @@ /* - * $Id: ipcache.cc,v 1.50 1996/08/28 20:11:58 wessels Exp $ + * $Id: ipcache.cc,v 1.51 1996/08/28 20:12:55 wessels Exp $ * * DEBUG: section 14 IP Cache * AUTHOR: Harvest Derived @@ -337,7 +337,6 @@ int ipcache_purgelru() removed++; continue; } - if (LRU_list_count == meta_data.ipcache_count) break; if (i->status == IP_PENDING) diff --git a/src/main.cc b/src/main.cc index 0f240c7dc3..d9171ed975 100644 --- a/src/main.cc +++ b/src/main.cc @@ -1,5 +1,5 @@ /* - * $Id: main.cc,v 1.67 1996/08/28 20:12:26 wessels Exp $ + * $Id: main.cc,v 1.68 1996/08/28 20:12:56 wessels Exp $ * * DEBUG: section 1 Startup and Main Loop * AUTHOR: Harvest Derived @@ -503,8 +503,8 @@ static time_t mainMaintenance() time_t next; int n; if (squid_curtime >= next_maintain) { - storeMaintainSwapSpace(); - next_maintain = squid_curtime + 1; + storeMaintainSwapSpace(); + next_maintain = squid_curtime + 1; } if (store_rebuilding != STORE_NOT_REBUILDING) goto maintenance_done;