Commit 232fd751 authored by Michael Sawyer's avatar Michael Sawyer
Browse files

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

getting ready to set.
parent aa863b2d
......@@ -94,7 +94,7 @@ isc_time_set(isc_time_t *t, unsigned int seconds, unsigned int nanoseconds) {
* epoch.
REQUIRE(t->nanoseconds < NS_PER_S);
REQUIRE(nanoseconds < NS_PER_S);
t->seconds = seconds;
t->nanoseconds = nanoseconds;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment