From owner-freebsd-hackers Sat Jul 24 1:56:46 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp01.wxs.nl (smtp01.wxs.nl [195.121.6.61]) by hub.freebsd.org (Postfix) with ESMTP id CCBE514F4A; Sat, 24 Jul 1999 01:56:39 -0700 (PDT) (envelope-from asmodai@wxs.nl) Received: from daemon.ninth-circle.org ([195.121.196.212]) by smtp01.wxs.nl (Netscape Messaging Server 3.61) with ESMTP id AAB28EF; Sat, 24 Jul 1999 10:54:41 +0200 Received: (from asmodai@localhost) by daemon.ninth-circle.org (8.9.3/8.9.3) id KAA20448; Sat, 24 Jul 1999 10:51:27 +0200 (CEST) (envelope-from asmodai) Date: Sat, 24 Jul 1999 10:51:27 +0200 From: Jeroen Ruigrok/Asmodai To: David Malone Cc: Dag-Erling Smorgrav , Andre Albsmeier , Sheldon Hearn , Brian Feldman , hackers@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/inetd builtins.c inetd.h Message-ID: <19990724105127.D20171@daemon.ninth-circle.org> References: <41604.932732959@axl.noc.iafrica.com> <19990723153416.F10047@internal> <19990723155348.J10047@internal> <19990723163720.A15697@walton.maths.tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/0.96.3i In-Reply-To: <19990723163720.A15697@walton.maths.tcd.ie>; from David Malone on Fri, Jul 23, 1999 at 04:37:20PM +0100 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * 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 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