From owner-cvs-all Fri Jul 24 00:35:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA07045 for cvs-all-outgoing; Fri, 24 Jul 1998 00:35:44 -0700 (PDT) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from lsd.relcom.eu.net (ache@lsd.relcom.eu.net [193.125.27.73]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA07019 for ; Fri, 24 Jul 1998 00:35:38 -0700 (PDT) (envelope-from ache@lsd.relcom.eu.net) Received: (from ache@localhost) by lsd.relcom.eu.net (8.8.8/8.8.8) id LAA21618; Fri, 24 Jul 1998 11:34:47 +0400 (MSD) (envelope-from ache) Message-ID: <19980724113446.A18828@nagual.pp.ru> Date: Fri, 24 Jul 1998 11:34:46 +0400 From: =?koi8-r?B?4c7E0sXKIP7F0s7P1w==?= To: Bruce Evans , cvs-committers@FreeBSD.ORG Subject: Re: cvs commit: src/usr.sbin/inetd inetd.c Mail-Followup-To: Bruce Evans , cvs-committers@FreeBSD.ORG References: <199807240729.RAA14650@godzilla.zeta.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.1i In-Reply-To: <199807240729.RAA14650@godzilla.zeta.org.au>; from bde@zeta.org.au on Fri, Jul 24, 1998 at 05:29:12PM +1000 Organization: Biomechanoid Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk On Fri, Jul 24, 1998 at 05:29:12PM +1000, Bruce Evans wrote: > > Modified files: > > usr.sbin/inetd inetd.c > > Log: > > Use NULL as gettimeofday arg instead of 0 cast > > Why subtract value like that? The 0 cast was necessary and sufficent NULL can be not equal to 0. It seems proper way to keep K&R will be (struct timezone *)NULL but it is superfluous. -- Andrey A. Chernov http://www.nagual.pp.ru/~ache/ MTH/SH/HE S-- W-- N+ PEC>+ D A a++ C G>+ QH+(++) 666+>++ Y To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message