diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2000-12-06 09:23:27 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2000-12-06 09:23:27 +0000 |
commit | 6c81eb523e10c41a04a98cd08889e5915847d697 (patch) | |
tree | 133ec22075460c41231b8586643c0a1d9451f967 /lib/libfetch/ftp.c | |
parent | 0138a93062f72282ce9bdb463c711443dc2e0689 (diff) |
Notes
Diffstat (limited to 'lib/libfetch/ftp.c')
-rw-r--r-- | lib/libfetch/ftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libfetch/ftp.c b/lib/libfetch/ftp.c index d9f624ef4852..59d71908d29e 100644 --- a/lib/libfetch/ftp.c +++ b/lib/libfetch/ftp.c @@ -464,7 +464,7 @@ _ftp_transfer(int cd, char *oper, char *file, /* passive mode */ if (!pasv) - pasv = ((s = getenv("FTP_PASSIVE_MODE")) == NULL || + pasv = ((s = getenv("FTP_PASSIVE_MODE")) != NULL && strncasecmp(s, "no", 2) != 0); /* find our own address, bind, and listen */ |