2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

Require nanoseconds is valid, instead of t->nanoseconds, which is what we're

getting ready to set.
This commit is contained in:
Michael Sawyer
2000-05-18 18:59:38 +00:00
parent aa863b2d1e
commit 232fd751ed

View File

@@ -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;