Commit 49bcef9c authored by Bob Halley's avatar Bob Halley
Browse files

opaque isc_time_t

parent db1e643c
......@@ -11,8 +11,7 @@ isc_condition_waituntil(isc_condition_t *c, isc_mutex_t *m, isc_time_t t)
int presult;
struct timespec ts;
ts.tv_sec = t->seconds;
ts.tv_nsec = t->nanoseconds;
isc_time_totimespec(t, &ts);
presult = pthread_cond_timedwait(c, m, &ts);
if (presult == 0)
return (ISC_R_SUCCESS);
Markdown is supported
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