Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 May 2000 11:19:24 -0400
From:      Bill Fumerola <billf@chc-chimes.com>
To:        Dag-Erling Smorgrav <des@flood.ping.uio.no>
Cc:        Alexander Langer <alex@big.endian.de>, "Jordan K. Hubbard" <jkh@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/lib/libftpio ftpio.c
Message-ID:  <20000505111924.B86725@jade.chc-chimes.com>
In-Reply-To: <xzpya5pavnx.fsf@flood.ping.uio.no>; from des@flood.ping.uio.no on Fri, May 05, 2000 at 05:01:06PM %2B0200
References:  <200004232123.OAA45684@freefall.freebsd.org> <20000505155103.A33140@cichlids.cichlids.com> <xzpya5pavnx.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 05, 2000 at 05:01:06PM +0200, Dag-Erling Smorgrav wrote:

> The correct fix is to copy the code (or at least the logic) from
> src/usr.bin/ftp/main.c. Revision 1.19 was the result of a long and
> thorough discussion on the lists and should be considered
> authoritative.

Index: ftpio.c
===================================================================
RCS file: /home/ncvs/src/lib/libftpio/ftpio.c,v
retrieving revision 1.34
diff -u -r1.34 ftpio.c
--- ftpio.c     2000/04/23 21:23:34     1.34
+++ ftpio.c     2000/05/05 15:10:46
@@ -500,7 +500,7 @@
 {
     char *cp = getenv("FTP_PASSIVE_MODE");

-    ftpPassive(fp, (cp && !strncmp(cp, "YES", 3)));
+    ftpPassive(fp, (cp && strncasecmp(cp, "no", 2)));
 }

 static void

-- 
Bill Fumerola - Network Architect / Computer Horizons Corp - CVM
e-mail: billf@chc-chimes.com / billf@FreeBSD.org





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000505111924.B86725>