]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
assert that we don't swap out any PRIVATE (e.g. non-cachable) objects
authorwessels <>
Sat, 18 Oct 1997 05:31:51 +0000 (05:31 +0000)
committerwessels <>
Sat, 18 Oct 1997 05:31:51 +0000 (05:31 +0000)
src/store_dir.cc

index 39dcb711a630490f8e773135a9b556546d1cdb3e..e7f84ac9c1078311e9dd01afeae5246a570262fe 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: store_dir.cc,v 1.30 1997/10/17 00:00:48 wessels Exp $
+ * $Id: store_dir.cc,v 1.31 1997/10/17 23:31:51 wessels Exp $
  *
  * DEBUG: section 47    Store Directory Routines
  * AUTHOR: Duane Wessels
@@ -221,8 +221,7 @@ storeDirSwapLog(const StoreEntry * e)
        fatal_dump("storeDirSwapLog: swap_file_number < 0");
     dirn = e->swap_file_number >> SWAP_DIR_SHIFT;
     assert(dirn < Config.cacheSwap.n_configured);
-    if (BIT_TEST(e->flag, KEY_PRIVATE))
-       debug(0, 0) ("storeDirSwapLog: PRIVATE: %s\n", e->url);
+    assert(!BIT_TEST(e->flag, KEY_PRIVATE));
     /* Note this printf format appears in storeWriteCleanLog() too */
     snprintf(logmsg, MAX_URL << 1, "%08x %08x %08x %08x %08x %9d %6d %08x %s\n",
        (int) e->swap_file_number,