From: wessels <> Date: Wed, 20 Jan 1999 10:02:48 +0000 (+0000) Subject: clear ftpState->data.fd after closing it X-Git-Tag: SQUID_3_0_PRE1~2371 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c72d668be325df69d6741bd0eacd840e8eaa6328;p=thirdparty%2Fsquid.git clear ftpState->data.fd after closing it --- diff --git a/src/ftp.cc b/src/ftp.cc index d7dfe349e4..c902d00d94 100644 --- a/src/ftp.cc +++ b/src/ftp.cc @@ -1,6 +1,6 @@ /* - * $Id: ftp.cc,v 1.269 1999/01/19 23:16:05 wessels Exp $ + * $Id: ftp.cc,v 1.270 1999/01/20 03:02:48 wessels Exp $ * * DEBUG: section 9 File Transfer Protocol (FTP) * AUTHOR: Harvest Derived @@ -1805,6 +1805,7 @@ ftpReadPort(FtpStateData * ftpState) /* Fall back on using the same port as the control connection */ debug(9, 3) ("PORT not supported by remote end\n"); comm_close(ftpState->data.fd); + ftpState->data.fd = -1; ftpOpenListenSocket(ftpState, 1); } ftpRestOrList(ftpState);