From: wessels <> Date: Fri, 6 Feb 1998 04:10:23 +0000 (+0000) Subject: removed netdb_hosts and netdb_addrs from meta_data X-Git-Tag: SQUID_3_0_PRE1~4158 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d6f4272b0eb97cfd496f2920ba046f6dd3a2970d;p=thirdparty%2Fsquid.git removed netdb_hosts and netdb_addrs from meta_data --- diff --git a/src/stat.cc b/src/stat.cc index e52978a364..1273aa06b6 100644 --- a/src/stat.cc +++ b/src/stat.cc @@ -1,6 +1,6 @@ /* - * $Id: stat.cc,v 1.191 1998/02/04 23:36:19 wessels Exp $ + * $Id: stat.cc,v 1.192 1998/02/05 21:10:23 wessels Exp $ * * DEBUG: section 18 Cache Manager Statistics * AUTHOR: Harvest Derived @@ -453,8 +453,6 @@ statMemoryAccounted(void) meta_data.ipcache_count * sizeof(ipcache_entry) + meta_data.fqdncache_count * sizeof(fqdncache_entry) + hash_links_allocated * sizeof(hash_link) + - meta_data.netdb_addrs * sizeof(netdbEntry) + - meta_data.netdb_hosts * sizeof(struct _net_db_name) + meta_data.netdb_peers * sizeof(struct _net_db_peer) + meta_data.client_info * client_info_sz + meta_data.misc; @@ -612,18 +610,6 @@ info_get(StoreEntry * sentry) (int) sizeof(hash_link), (int) (hash_links_allocated * sizeof(hash_link) >> 10)); - storeAppendPrintf(sentry, "{\t%-25.25s %7d x %4d bytes = %6d KB}\n", - "NetDB Address Entries", - meta_data.netdb_addrs, - (int) sizeof(netdbEntry), - (int) (meta_data.netdb_addrs * sizeof(netdbEntry) >> 10)); - - storeAppendPrintf(sentry, "{\t%-25.25s %7d x %4d bytes = %6d KB}\n", - "NetDB Host Entries", - meta_data.netdb_hosts, - (int) sizeof(struct _net_db_name), - (int) (meta_data.netdb_hosts * sizeof(struct _net_db_name) >> 10)); - storeAppendPrintf(sentry, "{\t%-25.25s %7d x %4d bytes = %6d KB}\n", "NetDB Peer Entries", meta_data.netdb_peers,