From owner-cvs-all Fri May 5 8:19:42 2000 Delivered-To: cvs-all@freebsd.org Received: from jade.chc-chimes.com (jade.chc-chimes.com [216.28.46.6]) by hub.freebsd.org (Postfix) with ESMTP id 5DF9B37B9E5; Fri, 5 May 2000 08:19:28 -0700 (PDT) (envelope-from billf@jade.chc-chimes.com) Received: by jade.chc-chimes.com (Postfix, from userid 1001) id A373D1C69; Fri, 5 May 2000 11:19:24 -0400 (EDT) Date: Fri, 5 May 2000 11:19:24 -0400 From: Bill Fumerola To: Dag-Erling Smorgrav Cc: Alexander Langer , "Jordan K. Hubbard" , 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> References: <200004232123.OAA45684@freefall.freebsd.org> <20000505155103.A33140@cichlids.cichlids.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from des@flood.ping.uio.no on Fri, May 05, 2000 at 05:01:06PM +0200 X-Operating-System: FreeBSD 3.3-STABLE i386 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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