From: wessels <> Date: Thu, 24 Oct 1996 12:12:44 +0000 (+0000) Subject: gindent X-Git-Tag: SQUID_3_0_PRE1~5605 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ceb8994ef679c3211d69254b1057d4d0c299eca5;p=thirdparty%2Fsquid.git gindent --- diff --git a/src/cache_cf.cc b/src/cache_cf.cc index 51e6327243..fb32e5f557 100644 --- a/src/cache_cf.cc +++ b/src/cache_cf.cc @@ -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(); diff --git a/src/fqdncache.cc b/src/fqdncache.cc index f4e9bf7b8e..0d50aa29ce 100644 --- a/src/fqdncache.cc +++ b/src/fqdncache.cc @@ -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) diff --git a/src/main.cc b/src/main.cc index 45f69d9e00..fff4198222 100644 --- a/src/main.cc +++ b/src/main.cc @@ -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; } } diff --git a/src/neighbors.cc b/src/neighbors.cc index c2ef9a84be..4e1e7dfb38 100644 --- a/src/neighbors.cc +++ b/src/neighbors.cc @@ -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) {