From 232fd751edcb5dd2b1fd2666e039efe83d2e2b55 Mon Sep 17 00:00:00 2001 From: Michael Sawyer Date: Thu, 18 May 2000 18:59:38 +0000 Subject: [PATCH] Require nanoseconds is valid, instead of t->nanoseconds, which is what we're getting ready to set. --- lib/isc/unix/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/isc/unix/time.c b/lib/isc/unix/time.c index 6469dd4fdf..4466d0234b 100644 --- a/lib/isc/unix/time.c +++ b/lib/isc/unix/time.c @@ -94,7 +94,7 @@ isc_time_set(isc_time_t *t, unsigned int seconds, unsigned int nanoseconds) { * epoch. */ REQUIRE(t != NULL); - REQUIRE(t->nanoseconds < NS_PER_S); + REQUIRE(nanoseconds < NS_PER_S); t->seconds = seconds; t->nanoseconds = nanoseconds;