From: ian Date: Tue, 12 Oct 1999 21:13:03 +0000 (+0000) Subject: + * ands_processany actually does something. X-Git-Tag: privaterel-1999-10-12-fanf-dustman~6 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=adns.git;a=commitdiff_plain;h=aedf10f2d0bb23797a821e9c5eec34aba862db53 + * ands_processany actually does something. @@ -20,6 +20,7 @@ + * ands_processany actually does something. --- 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