diff options
author | asmodai <asmodai@FreeBSD.org> | 2000-10-31 12:35:45 +0000 |
---|---|---|
committer | asmodai <asmodai@FreeBSD.org> | 2000-10-31 12:35:45 +0000 |
commit | b5459c5b45e8d87dcdb3d5a0ddc31ca631a18480 (patch) | |
tree | ec4d7d21514a97aec7ad9db79cabb486f981b420 /contrib/bind/lib/isc/ev_timers.c | |
parent | 1f7d1df733cba8003f78ea73b609bf5ad47db279 (diff) | |
parent | 90887e8f5bdae690c1ceca0ae12853e5e66c5282 (diff) | |
download | FreeBSD-src-b5459c5b45e8d87dcdb3d5a0ddc31ca631a18480.zip FreeBSD-src-b5459c5b45e8d87dcdb3d5a0ddc31ca631a18480.tar.gz |
This commit was generated by cvs2svn to compensate for changes in r68068,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/bind/lib/isc/ev_timers.c')
-rw-r--r-- | contrib/bind/lib/isc/ev_timers.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/bind/lib/isc/ev_timers.c b/contrib/bind/lib/isc/ev_timers.c index 0db770c..ff44e49 100644 --- a/contrib/bind/lib/isc/ev_timers.c +++ b/contrib/bind/lib/isc/ev_timers.c @@ -20,7 +20,7 @@ */ #if !defined(LINT) && !defined(CODECENTER) -static const char rcsid[] = "$Id: ev_timers.c,v 1.25 1999/10/07 20:44:04 vixie Exp $"; +static const char rcsid[] = "$Id: ev_timers.c,v 1.26 2000/07/17 07:36:54 vixie Exp $"; #endif /* Import. */ @@ -30,6 +30,7 @@ static const char rcsid[] = "$Id: ev_timers.c,v 1.25 1999/10/07 20:44:04 vixie E #include <errno.h> +#include <isc/assertions.h> #include <isc/eventlib.h> #include "eventlib_p.h" @@ -110,6 +111,7 @@ evNowTime() { if (gettimeofday(&now, NULL) < 0) return (evConsTime(0, 0)); + INSIST(now.tv_usec >= 0 && now.tv_usec < 1000000); return (evTimeSpec(now)); } |