missing returns could cause the ftp state machine to attempt to continue
after terminal failure.
/*
- * $Id: ftp.cc,v 1.433 2007/08/12 23:57:28 amosjeffries Exp $
+ * $Id: ftp.cc,v 1.434 2007/08/13 02:39:06 hno Exp $
*
* DEBUG: section 9 File Transfer Protocol (FTP)
* AUTHOR: Harvest Derived
ftpState->unhack();
} else if (code < 0) {
ftpFail(ftpState);
+ return;
}
ftpSendSize(ftpState);
}
} else if (code < 0) {
ftpFail(ftpState);
+ return;
}
ftpSendPasv(ftpState);