From: wessels <> Date: Tue, 17 Jun 1997 09:44:35 +0000 (+0000) Subject: reload dup bugfix X-Git-Tag: SQUID_3_0_PRE1~4939 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bf33177ba302db8be21150985652933e955fc821;p=thirdparty%2Fsquid.git reload dup bugfix --- diff --git a/src/store.cc b/src/store.cc index d07b0eed77..f7499c179a 100644 --- a/src/store.cc +++ b/src/store.cc @@ -1,6 +1,6 @@ /* - * $Id: store.cc,v 1.253 1997/06/04 07:00:34 wessels Exp $ + * $Id: store.cc,v 1.254 1997/06/17 03:44:35 wessels Exp $ * * DEBUG: section 20 Storeage Manager * AUTHOR: Harvest Derived @@ -1404,6 +1404,7 @@ storeDoRebuildFromDisk(void *data) /* junk old, load new */ storeRelease(e); /* release old entry */ RB->dupcount++; + continue; } else { /* URL doesnt exist, swapfile not in use */ /* load new */ @@ -2759,8 +2760,7 @@ storeGetUnusedFileno(void) static void storePutUnusedFileno(int fileno) { - if (!storeDirMapBitTest(fileno)) - fatal_dump("storePutUnusedFileno: fileno not in use"); + assert(storeDirMapBitTest(fileno)); storeDirMapBitReset(fileno); if (fileno_stack_count < FILENO_STACK_SIZE) fileno_stack[fileno_stack_count++] = fileno;