]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
- removed calls to cacheDigestAdd/cacheDigestDel()
authorrousskov <>
Wed, 22 Apr 1998 22:22:37 +0000 (22:22 +0000)
committerrousskov <>
Wed, 22 Apr 1998 22:22:37 +0000 (22:22 +0000)
  soon we will cancel support of in-memory copy of
  a local cache digest

src/store.cc

index b3c7858dbb5a7fa72038808c872f76256cfa34cc..1b8f9bad9b8804e8161a497cf896a201e33e3e33 100644 (file)
@@ -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);