]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
gindent
authorwessels <>
Thu, 29 Aug 1996 02:12:52 +0000 (02:12 +0000)
committerwessels <>
Thu, 29 Aug 1996 02:12:52 +0000 (02:12 +0000)
src/cache_cf.cc
src/dnsserver.cc
src/ipcache.cc
src/main.cc

index 1b3550e6aff45d03d3b15004ffe8c3e78687e07c..e481db3f4130f2b44b4d8847e2e1203128da3925 100644 (file)
@@ -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) {
index 2e1939611ad086be109d187dd404bb878b91ab4c..f0323ec884f37d6904b82b9e48a20836e30ee5e8 100644 (file)
@@ -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
 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");
index 2cf8f719773bfd4bbd8a6a53ff7ea7772f92fa1e..cfa095788f06b4379bb68c0ca5adc7a9b983aec9 100644 (file)
@@ -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)
index 0f240c7dc326abfa265225b33ed28996fd7ac0ce..d9171ed975754aa8730437bfca8c563ce9ca1846 100644 (file)
@@ -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;