From: wessels <> Date: Fri, 24 Oct 1997 10:06:23 +0000 (+0000) Subject: remove debugs X-Git-Tag: SQUID_3_0_PRE1~4705 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=06e8899bd45da548383679a133da13f563f4273d;p=thirdparty%2Fsquid.git remove debugs --- diff --git a/src/store.cc b/src/store.cc index def2d628bb..2882efa91e 100644 --- a/src/store.cc +++ b/src/store.cc @@ -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);