Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 May 2000 11:43:59 -0600
From:      Warner Losh <imp@village.org>
To:        Alexander Langer <alex@big.endian.de>
Cc:        Bill Fumerola <billf@chc-chimes.com>, Dag-Erling Smorgrav <des@flood.ping.uio.no>, "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:  <200005051743.LAA55363@harmony.village.org>
In-Reply-To: Your message of "Fri, 05 May 2000 18:23:39 %2B0200." <20000505182339.A61869@cichlids.cichlids.com> 
References:  <20000505182339.A61869@cichlids.cichlids.com>  <200004232123.OAA45684@freefall.freebsd.org> <20000505155103.A33140@cichlids.cichlids.com> <xzpya5pavnx.fsf@flood.ping.uio.no> <20000505111924.B86725@jade.chc-chimes.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20000505182339.A61869@cichlids.cichlids.com> Alexander Langer writes:
: Thus spake Bill Fumerola (billf@chc-chimes.com):
: 
: > -    ftpPassive(fp, (cp && !strncmp(cp, "YES", 3)));
: > +    ftpPassive(fp, (cp && strncasecmp(cp, "no", 2)));
: 
: What about "NO"? "No"? "nO"? "no damn chick, or I'll kill ya!!"? 
: 
: Alex
: 
: PS: The last one is covered by your version above, I know :-)

strncasecmp takes care of all of these cases.

Warner


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?200005051743.LAA55363>