From aedf10f2d0bb23797a821e9c5eec34aba862db53 Mon Sep 17 00:00:00 2001 From: ian Date: Tue, 12 Oct 1999 21:13:03 +0000 Subject: [PATCH] + * ands_processany actually does something. @@ -20,6 +20,7 @@ + * ands_processany actually does something. --- changelog | 1 + src/event.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/changelog b/changelog index f24e3c3..8925d12 100644 --- a/changelog +++ b/changelog @@ -20,6 +20,7 @@ adns (0.5) unstable; urgency=medium * adns_rr_hostaddr naddrs is -1 on temporary failure (as documented). * Reject TXT RRs with no strings. * Correct error messages for qname CNAME foo, foo CNAME bar. + * ands_processany actually does something. * Fixed typos in adns.h. General improvements: diff --git a/src/event.c b/src/event.c index 6ddf492..9109469 100644 --- a/src/event.c +++ b/src/event.c @@ -526,7 +526,7 @@ void adns_globalsystemfailure(adns_state ads) { } int adns_processany(adns_state ads) { - int r; + int r, i; struct timeval now; struct pollfd pollfds[MAX_POLLFDS]; int npollfds; @@ -541,6 +541,7 @@ int adns_processany(adns_state ads) { * likely just to want to do a read on one or two fds anyway. */ npollfds= adns__pollfds(ads,pollfds); + for (i=0; i