From 6a9f9437d6d539d52dfccfb5ad0a7a3807d8caee Mon Sep 17 00:00:00 2001 From: ian Date: Fri, 15 Oct 1999 17:20:09 +0000 Subject: [PATCH] Correct fix for infinite timeouts. --- src/event.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/event.c b/src/event.c index b3f71dd..e3f72a4 100644 --- a/src/event.c +++ b/src/event.c @@ -184,9 +184,9 @@ void adns__timeouts(adns_state ads, int act, inter_maxtoabs(tv_io,tvbuf,now,qu->timeout); } else { if (!act) { - tvbuf.tv_sec= 0; - tvbuf.tv_usec= 0; - *tv_io= &tvbuf; + tvbuf->tv_sec= 0; + tvbuf->tv_usec= 0; + *tv_io= tvbuf; return; } LIST_UNLINK(ads->timew,qu); -- 2.30.2