Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Nov 2000 09:40:31 -0800 (PST)
From:      Matt Dillon <dillon@earth.backplane.com>
To:        Alfred Perlstein <bright@wintelcom.net>
Cc:        Warner Losh <imp@village.org>, "Brian F. Feldman" <green@FreeBSD.ORG>, obrien@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/usr.sbin/inetd builtins.c
Message-ID:  <200011281740.eASHeVM40839@earth.backplane.com>
References:  <20001126182240.A8051@fw.wintelcom.net> <bright@wintelcom.net> <200011262140.eAQLe2576200@green.dyndns.org> <20001126182240.A8051@fw.wintelcom.net> <200011280524.WAA07413@harmony.village.org> <20001127221535.Y8051@fw.wintelcom.net>

next in thread | previous in thread | raw e-mail | index | archive | help

:> Shouldn't this be
:> 	if (to.tv_usec >= 1000000) {
:> 		to.tv_sec += to.tv_usec / 1000000;
:> 		to.tv_usec %= 1000000;
:> 	}
:
:Yes, but it's overkill as afaik to.tv_usec >= 2000000
:shouldn't happen.
:
:-- 
:-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]

    Ick.  Never use a division if you don't need to.  

					-Matt


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?200011281740.eASHeVM40839>