]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
remove debugs
authorwessels <>
Fri, 24 Oct 1997 10:06:23 +0000 (10:06 +0000)
committerwessels <>
Fri, 24 Oct 1997 10:06:23 +0000 (10:06 +0000)
src/store.cc

index def2d628bb6dcbb0906d2f30cdaf972c342451e6..2882efa91e1e6b7319ead18878e1051fe1b2cd58 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: store.cc,v 1.309 1997/10/24 03:53:10 wessels Exp $
+ * $Id: store.cc,v 1.310 1997/10/24 04:06:23 wessels Exp $
  *
  * DEBUG: section 20    Storeage Manager
  * AUTHOR: Harvest Derived
@@ -468,12 +468,8 @@ storePurgeMem(StoreEntry * e)
     storeSetMemStatus(e, NOT_IN_MEMORY);
     destroy_MemObject(e->mem_obj);
     e->mem_obj = NULL;
-    if (e->swap_status != SWAPOUT_DONE) {
-       debug(0, 0) ("storePurgeMem: swap_status = %s, releasing\n",
-           swapStatusStr[e->swap_status]);
-       debug(0,0)("--> %s\n", e->url);
+    if (e->swap_status != SWAPOUT_DONE)
        storeRelease(e);
-    }
 }
 
 void
@@ -2001,6 +1997,7 @@ storeClientCopyHandleRead(int fd, const char *buf, int len, int flag, void *data
     store_client *sc = data;
     MemObject *mem = sc->mem;
     STCB *callback = sc->callback;
+    assert(sc->callback != NULL);
     debug(20, 3) ("storeClientCopyHandleRead: FD %d, len %d\n", fd, len);
     if (sc->copy_offset == 0 && len > 0 && mem != NULL)
        httpParseReplyHeaders(buf, mem->reply);