1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-02-03 17:11:32 +00:00

Remove the FTP_PASSIVE_MODE "fix"; libftpio handles this.

This commit is contained in:
Bill Fenner 1999-02-05 01:01:17 +00:00
parent d37fcb98e3
commit d17bf266c4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=43627

View File

@ -26,7 +26,7 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: ftp.c,v 1.11 1998/12/08 13:00:49 cracauer Exp $
* $Id: ftp.c,v 1.12 1999/02/03 20:43:29 fenner Exp $
*/
#include <sys/types.h>
@ -367,8 +367,6 @@ ftp_retrieve(struct fetch_state *fs)
}
} else
ftpBinary(ftp);
if (getenv("FTP_PASSIVE_MODE"))
fs->fs_passive_mode = 1;
ftpPassive(ftp, fs->fs_passive_mode);
for (i = 0, dp = ftps->ftp_remote_dirs; i < ftps->ftp_remote_ndirs; i++, dp++) {
if ((status = ftpChdir(ftp, *dp)) != 0) {