/*
- * $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
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();
/*
- * $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
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)
/*
- * $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
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;
}
}
/*
- * $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
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) {