1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

Put the FTP_PASSIVE_MODE issue to rest once and for all.

Reviewed by:	des
Obtained from:	FreeBSD's src/usr.bin/ftp/main.c
This commit is contained in:
Bill Fumerola 2000-05-05 17:02:32 +00:00
parent 30450ba43e
commit 17df1e24e6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=60051

View File

@ -500,7 +500,7 @@ check_passive(FILE *fp)
{
char *cp = getenv("FTP_PASSIVE_MODE");
ftpPassive(fp, (cp && !strncmp(cp, "YES", 3)));
ftpPassive(fp, (cp && strncasecmp(cp, "no", 2)));
}
static void