From 49bcef9c9cd58a7c91b8d142759faf6c8befaf38 Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Fri, 23 Oct 1998 23:01:12 +0000 Subject: [PATCH] opaque isc_time_t --- lib/isc/pthreads/condition.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/isc/pthreads/condition.c b/lib/isc/pthreads/condition.c index 4429501699..74cd2b40d6 100644 --- a/lib/isc/pthreads/condition.c +++ b/lib/isc/pthreads/condition.c @@ -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);