From 44f9119dc9428c88dd3955879d7c9b37406eacce Mon Sep 17 00:00:00 2001 From: fenner Date: Fri, 5 Feb 1999 01:01:17 +0000 Subject: Remove the FTP_PASSIVE_MODE "fix"; libftpio handles this. --- usr.bin/fetch/ftp.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'usr.bin/fetch') diff --git a/usr.bin/fetch/ftp.c b/usr.bin/fetch/ftp.c index 78b57ff..5e40848 100644 --- a/usr.bin/fetch/ftp.c +++ b/usr.bin/fetch/ftp.c @@ -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 @@ -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) { -- cgit v1.1