]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
gindent
authorwessels <>
Thu, 24 Oct 1996 12:12:44 +0000 (12:12 +0000)
committerwessels <>
Thu, 24 Oct 1996 12:12:44 +0000 (12:12 +0000)
src/cache_cf.cc
src/fqdncache.cc
src/main.cc
src/neighbors.cc

index 51e632724397b4d8a2794cda92022bec74aefb21..fb32e5f5579a1490be33c0d9f8af04736e2ead23 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: cache_cf.cc,v 1.113 1996/10/24 05:07:16 wessels Exp $
+ * $Id: cache_cf.cc,v 1.114 1996/10/24 06:12:44 wessels Exp $
  *
  * DEBUG: section 3     Configuration File Parsing
  * AUTHOR: Harvest Derived
@@ -889,7 +889,7 @@ parseAddressLine(struct in_addr *addr)
        self_destruct();
     if (inet_addr(token) != INADDR_NONE)
        (*addr).s_addr = inet_addr(token);
-    else if ((hp = gethostbyname(token)))      /* dont use ipcache */
+    else if ((hp = gethostbyname(token)))      /* dont use ipcache */
        *addr = inaddrFromHostent(hp);
     else
        self_destruct();
index f4e9bf7b8e7f79708bcd2a82468bb40e97fc93f7..0d50aa29ce9d69c4939fe66c84a8369182531089 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: fqdncache.cc,v 1.28 1996/10/24 05:07:18 wessels Exp $
+ * $Id: fqdncache.cc,v 1.29 1996/10/24 06:12:45 wessels Exp $
  *
  * DEBUG: section 35    FQDN Cache
  * AUTHOR: Harvest Derived
@@ -392,7 +392,7 @@ fqdncache_add(char *name, fqdncache_entry * f, struct hostent *hp, int cached)
     f->name = xstrdup(name);
     if (cached) {
        f->name_count = 0;
-       f->names[f->name_count++] = xstrdup((char *)hp->h_name);
+       f->names[f->name_count++] = xstrdup((char *) hp->h_name);
        for (k = 0; hp->h_aliases[k]; k++) {
            f->names[f->name_count++] = xstrdup(hp->h_aliases[k]);
            if (f->name_count == FQDN_MAX_NAMES)
index 45f69d9e00dc3cc1c68bf3c737a06be97095ade9..fff4198222a8e485b0b77fd7876b37260cde78d5 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: main.cc,v 1.100 1996/10/24 05:23:54 wessels Exp $
+ * $Id: main.cc,v 1.101 1996/10/24 06:12:45 wessels Exp $
  *
  * DEBUG: section 1     Startup and Main Loop
  * AUTHOR: Harvest Derived
@@ -569,7 +569,7 @@ mainMaintenance(void)
            next_cleaning = squid_curtime + Config.cleanRate;
        } else if (squid_curtime >= next_announce) {
            if (Config.Announce.on)
-               send_announce();
+               send_announce();
            next_announce = squid_curtime + Config.Announce.rate;
        }
     }
index c2ef9a84beab3e3b3e849ddba0b3b2558cae390c..4e1e7dfb38bd308930a50f5243e0ddd964f8cf87 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: neighbors.cc,v 1.71 1996/10/24 05:15:26 wessels Exp $
+ * $Id: neighbors.cc,v 1.72 1996/10/24 06:12:46 wessels Exp $
  *
  * DEBUG: section 15    Neighbor Routines
  * AUTHOR: Harvest Derived
@@ -594,7 +594,7 @@ neighborsUdpAck(int fd, char *url, icp_common_t * header, struct sockaddr_in *fr
        opcode_d, url, e ? e->host : "source");
     mem->e_pings_n_acks++;
     if (e)
-       ntype = neighborType(e, mem->request);
+       ntype = neighborType(e, mem->request);
     if (header->opcode == ICP_OP_SECHO) {
        /* Received source-ping reply */
        if (e) {