diff options
author | Bill Fenner <fenner@FreeBSD.org> | 1999-02-05 01:01:17 +0000 |
---|---|---|
committer | Bill Fenner <fenner@FreeBSD.org> | 1999-02-05 01:01:17 +0000 |
commit | d17bf266c42c46db2c5a70f6c9ea4f69eaed0fcd (patch) | |
tree | adae836eec2bd6128aad2c055fa6c524f1b7eda4 /usr.bin/fetch | |
parent | d37fcb98e372d32af6a3e0b03cc630f0e468d2ae (diff) | |
download | src-d17bf266c42c46db2c5a70f6c9ea4f69eaed0fcd.tar.gz src-d17bf266c42c46db2c5a70f6c9ea4f69eaed0fcd.zip |
Remove the FTP_PASSIVE_MODE "fix"; libftpio handles this.
Notes
Notes:
svn path=/head/; revision=43627
Diffstat (limited to 'usr.bin/fetch')
-rw-r--r-- | usr.bin/fetch/ftp.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/fetch/ftp.c b/usr.bin/fetch/ftp.c index 78b57ff639c1..5e40848136ac 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 <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) { |