From: rousskov <> Date: Wed, 22 Apr 1998 22:22:37 +0000 (+0000) Subject: - removed calls to cacheDigestAdd/cacheDigestDel() X-Git-Tag: SQUID_3_0_PRE1~3460 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b753054dbbd91fe5ebc0c8abc73b9c84a2a99bb8;p=thirdparty%2Fsquid.git - removed calls to cacheDigestAdd/cacheDigestDel() soon we will cancel support of in-memory copy of a local cache digest --- diff --git a/src/store.cc b/src/store.cc index b3c7858dbb..1b8f9bad9b 100644 --- a/src/store.cc +++ b/src/store.cc @@ -1,6 +1,6 @@ /* - * $Id: store.cc,v 1.407 1998/04/21 02:20:07 wessels Exp $ + * $Id: store.cc,v 1.408 1998/04/22 16:22:37 rousskov Exp $ * * DEBUG: section 20 Storage Manager * AUTHOR: Harvest Derived @@ -254,15 +254,11 @@ storeHashInsert(StoreEntry * e, const cache_key * key) e->key = storeKeyDup(key); hash_join(store_table, (hash_link *) e); dlinkAdd(e, &e->lru, &store_list); - if (store_digest && !EBIT_TEST(e->flag, KEY_PRIVATE)) - cacheDigestAdd(store_digest, e->key); } static void storeHashDelete(StoreEntry * e) { - if (store_digest && !EBIT_TEST(e->flag, KEY_PRIVATE)) - cacheDigestDel(store_digest, e->key); hash_remove_link(store_table, (hash_link *) e); dlinkDelete(&e->lru, &store_list); storeKeyFree(e->key);