Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jul 1999 10:51:27 +0200
From:      Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>
To:        David Malone <dwmalone@maths.tcd.ie>
Cc:        Dag-Erling Smorgrav <des@flood.ping.uio.no>, Andre Albsmeier <andre.albsmeier@mchp.siemens.de>, Sheldon Hearn <sheldonh@uunet.co.za>, Brian Feldman <green@FreeBSD.org>, hackers@FreeBSD.org
Subject:   Re: cvs commit: src/usr.sbin/inetd builtins.c inetd.h
Message-ID:  <19990724105127.D20171@daemon.ninth-circle.org>
In-Reply-To: <19990723163720.A15697@walton.maths.tcd.ie>; from David Malone on Fri, Jul 23, 1999 at 04:37:20PM %2B0100
References:  <41604.932732959@axl.noc.iafrica.com> <xzpn1wnbj6p.fsf@flood.ping.uio.no> <19990723153416.F10047@internal> <xzplnc7bia3.fsf@flood.ping.uio.no> <19990723155348.J10047@internal> <xzpiu7bbha8.fsf@flood.ping.uio.no> <19990723163720.A15697@walton.maths.tcd.ie>

next in thread | previous in thread | raw e-mail | index | archive | help
* David Malone (dwmalone@maths.tcd.ie) [990723 18:41]:
>                         if ((bi->bi_socktype == sep->se_socktype &&
>                             strcmp(bi->bi_service, sep->se_service) == 0) ||
>                             matchservent(bi->bi_service, sep->se_service,
>                             sep->se_proto))
> 
> It should probably say:
> 
>                         if (bi->bi_socktype == sep->se_socktype &&
>                             ((strcmp(bi->bi_service, sep->se_service) == 0) ||
>                             matchservent(bi->bi_service, sep->se_service,
>                             sep->se_proto)))

Holymoley,

detect the braces-quiz. Those braces which changed are hard to spot, but
prolly mean the world in this case....

-- 
Jeroen Ruigrok van der Werven                          asmodai(at)wxs.nl
The BSD Programmer's Documentation Project <http://home.wxs.nl/~asmodai>;
Network/Security Specialist        BSD: Technical excellence at its best
Cum angelis et pueris, fideles inveniamur. Quis est iste Rex gloriae...?


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




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