/*
- * $Id: fqdncache.cc,v 1.29 1996/10/24 06:12:45 wessels Exp $
+ * $Id: fqdncache.cc,v 1.30 1996/10/25 00:22:12 wessels Exp $
*
* DEBUG: section 35 FQDN Cache
* AUTHOR: Harvest Derived
debug(35, 3, "Initializing FQDN Cache...\n");
memset(&FqdncacheStats, '\0', sizeof(FqdncacheStats));
/* small hash table */
- fqdn_table = hash_create(urlcmp, 229, hash_string);
+ fqdn_table = hash_create(urlcmp, 229, hash4);
fqdncache_high = (long) (((float) MAX_FQDN *
(float) FQDN_HIGH_WATER) / (float) 100);
fqdncache_low = (long) (((float) MAX_FQDN *
/*
- * $Id: ipcache.cc,v 1.76 1996/10/24 05:07:21 wessels Exp $
+ * $Id: ipcache.cc,v 1.77 1996/10/25 00:22:13 wessels Exp $
*
* DEBUG: section 14 IP Cache
* AUTHOR: Harvest Derived
debug(14, 1, "Successful DNS name lookup tests...\n");
}
- ip_table = hash_create(urlcmp, 229, hash_string); /* small hash table */
+ ip_table = hash_create(urlcmp, 229, hash4); /* small hash table */
memset(&static_addrs, '\0', sizeof(ipcache_addrs));
static_addrs.in_addrs = xcalloc(1, sizeof(struct in_addr));