-/* $Id: cache_cf.cc,v 1.30 1996/04/10 20:45:24 wessels Exp $ */
+/* $Id: cache_cf.cc,v 1.31 1996/04/10 20:53:44 wessels Exp $ */
/* DEBUG: Section 3 cache_cf: Configuration file parsing */
#endif /* ndef IPACL_INTS */
static void wordlistDestroy(list)
- wordlist **list;
+ wordlist **list;
{
wordlist *w = NULL;
wordlist *n = NULL;
- for (w = *list; w; w=n) {
+ for (w = *list; w; w = n) {
n = w->next;
safe_free(w->key);
safe_free(w);
{
return Config.Announce.rate;
}
-wordlist * getHttpStoplist()
+wordlist *getHttpStoplist()
{
return Config.http_stoplist;
}
-wordlist * getFtpStoplist()
+wordlist *getFtpStoplist()
{
return Config.ftp_stoplist;
}
-wordlist * getGopherStoplist()
+wordlist *getGopherStoplist()
{
return Config.gopher_stoplist;
}
-wordlist * getLocalDomainList()
+wordlist *getLocalDomainList()
{
return Config.local_domain_list;
}
-wordlist * getCacheDirs()
+wordlist *getCacheDirs()
{
return Config.cache_dirs;
}
-wordlist * getInsideFirewallList()
+wordlist *getInsideFirewallList()
{
return Config.inside_firewall_list;
}
-wordlist * getBindAddrList()
+wordlist *getBindAddrList()
{
return Config.bind_addr_list;
}
-/* $Id: ftp.cc,v 1.32 1996/04/10 20:45:26 wessels Exp $ */
+/* $Id: ftp.cc,v 1.33 1996/04/10 20:53:45 wessels Exp $ */
/*
* DEBUG: Section 9 ftp: FTP
wordlist *p = NULL;
/* scan stop list */
- for (p = getFtpStoplist(); p; p=p->next) {
+ for (p = getFtpStoplist(); p; p = p->next) {
if (strstr(url, p->key))
return 0;
}
-/* $Id: ipcache.cc,v 1.19 1996/04/10 20:45:28 wessels Exp $ */
+/* $Id: ipcache.cc,v 1.20 1996/04/10 20:53:46 wessels Exp $ */
/*
* DEBUG: Section 14 ipcache: IP Cache
last_dns_dispatched = getDnsChildren() - 1;
if (!dns_error_message)
- dns_error_message = xcalloc(1, 256);
+ dns_error_message = xcalloc(1, 256);
/* test naming lookup */
if (!do_dns_test) {