/*
- * $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
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
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);