Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jul 1998 11:34:46 +0400
From:      =?koi8-r?B?4c7E0sXKIP7F0s7P1w==?= <ache@nagual.pp.ru>
To:        Bruce Evans <bde@zeta.org.au>, cvs-committers@FreeBSD.ORG
Subject:   Re: cvs commit: src/usr.sbin/inetd inetd.c
Message-ID:  <19980724113446.A18828@nagual.pp.ru>
In-Reply-To: <199807240729.RAA14650@godzilla.zeta.org.au>; from bde@zeta.org.au on Fri, Jul 24, 1998 at 05:29:12PM %2B1000
References:  <199807240729.RAA14650@godzilla.zeta.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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