/*
- * $Id: store.cc,v 1.306 1997/10/24 01:28:42 wessels Exp $
+ * $Id: store.cc,v 1.307 1997/10/24 02:52:19 wessels Exp $
*
* DEBUG: section 20 Storeage Manager
* AUTHOR: Harvest Derived
if (!BIT_TEST(e->flag, ENTRY_VALIDATED)) {
if (storeDirMapBitTest(e->swap_file_number)) {
/* someone took our file while we weren't looking */
- debug(0, 0) ("storeSwapInStart: someone took our file while we weren't looking\n");
- debug(0, 0) ("storeSwapInStart: for %s\n", e->url);
callback(-1, callback_data);
return;
}
data);
sc = storeClientListSearch(mem, data);
assert(sc != NULL);
+ assert(sc->callback == NULL);
sc->copy_offset = copy_offset;
sc->seen_offset = seen_offset;
sc->callback = callback;
store_client *sc = data;
STCB *callback = sc->callback;
if (fd < 0) {
- debug(20, 1) ("storeClientCopyFileOpened: failed\n");
+ debug(20, 3) ("storeClientCopyFileOpened: failed\n");
sc->callback = NULL;
callback(sc->callback_data, sc->copy_buf, -1);
return;