diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-04-07 07:11:34 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-04-07 07:11:34 +0000 |
commit | bcc1f6adfe85edc4de44df026e5834da23c81382 (patch) | |
tree | 882b5cd3a2ce988099968ef67aed1784e238289b /usr.sbin/pkg_install/lib/file.c | |
parent | dff2490758a61b29fd0af1e7541ab892025c6ac2 (diff) |
active mode is way busted; default to passive
Diffstat (limited to 'usr.sbin/pkg_install/lib/file.c')
-rw-r--r-- | usr.sbin/pkg_install/lib/file.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_install/lib/file.c b/usr.sbin/pkg_install/lib/file.c index 219dc8aed70..ce62da5ee69 100644 --- a/usr.sbin/pkg_install/lib/file.c +++ b/usr.sbin/pkg_install/lib/file.c @@ -1,7 +1,7 @@ -/* $OpenBSD: file.c,v 1.4 1997/01/17 07:14:15 millert Exp $ */ +/* $OpenBSD: file.c,v 1.5 1998/04/07 07:11:33 deraadt Exp $ */ #ifndef lint -static const char *rcsid = "$OpenBSD: file.c,v 1.4 1997/01/17 07:14:15 millert Exp $"; +static const char *rcsid = "$OpenBSD: file.c,v 1.5 1998/04/07 07:11:33 deraadt Exp $"; #endif /* @@ -249,7 +249,7 @@ fileGetURL(char *base, char *spec) if (Verbose) printf("Trying to log into %s as %s.\n", host, uname); FtpOpen(ftp, host, uname, pword); - if (getenv("FTP_PASSIVE_MODE")) + if (getenv("FTP_ACTIVE_MODE") == NULL) FtpPassive(ftp, TRUE); strcpy(dir, file); |