]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bugzilla #709: cbdata.c:186: "c->valid" assertion due to peer digest not found
authorwessels <>
Thu, 17 Jul 2003 02:22:26 +0000 (02:22 +0000)
committerwessels <>
Thu, 17 Jul 2003 02:22:26 +0000 (02:22 +0000)
src/peer_digest.cc

index e682526f681468878f38bdbea5976310ef67372c..319c44b783a95d58e188ad2c415a43abef66aa51 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: peer_digest.cc,v 1.96 2003/03/06 11:51:56 robertc Exp $
+ * $Id: peer_digest.cc,v 1.97 2003/07/16 20:22:26 wessels Exp $
  *
  * DEBUG: section 72    Peer Digest Routines
  * AUTHOR: Alex Rousskov
@@ -907,7 +907,7 @@ peerDigestFetchFinish(DigestFetchState * fetch, int err)
 
     if (fetch->old_entry) {
         debug(72, 2) ("peerDigestFetchFinish: deleting old entry\n");
-        storeUnregister(fetch->sc, fetch->old_entry, fetch);
+        storeUnregister(fetch->old_sc, fetch->old_entry, fetch);
         storeReleaseRequest(fetch->old_entry);
         storeUnlockObject(fetch->old_entry);
         fetch->old_entry = NULL;