/*
- * $Id: comm.cc,v 1.169 1997/06/20 05:08:30 wessels Exp $
+ * $Id: comm.cc,v 1.170 1997/06/20 05:26:08 wessels Exp $
*
* DEBUG: section 5 Socket Functions
* AUTHOR: Harvest Derived
fde = &fd_table[fd];
if (!fde->open)
return;
- assert(fd_table[fd].type =! FD_FILE);
+ assert(fde->type != FD_FILE);
fde->open = 0;
CommWriteStateCallbackAndFree(fd, COMM_ERROR);
commCallCloseHandlers(fd);
/*
- * $Id: ftp.cc,v 1.127 1997/06/20 02:22:11 wessels Exp $
+ * $Id: ftp.cc,v 1.128 1997/06/20 05:26:09 wessels Exp $
*
* DEBUG: section 9 File Transfer Protocol (FTP)
* AUTHOR: Harvest Derived
{
FtpStateData *ftpState = data;
StoreEntry *entry = ftpState->entry;
- debug(9, 4) ("ftpLifeTimeExpire: FD %d: '%s'\n", fd, entry->url);
+ assert(cbdataValid(ftpState));
+ debug(9, 4) ("ftpTimeout: FD %d: '%s'\n", fd, entry->url);
storeAbort(entry, ERR_READ_TIMEOUT, NULL, 0);
if (ftpState->data.fd >= 0)
comm_close(ftpState->data.fd);