+ * ands_processany actually does something.
* 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.
* 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:
* Fixed typos in adns.h.
General improvements:
}
int adns_processany(adns_state ads) {
}
int adns_processany(adns_state ads) {
struct timeval now;
struct pollfd pollfds[MAX_POLLFDS];
int npollfds;
struct timeval now;
struct pollfd pollfds[MAX_POLLFDS];
int npollfds;
* likely just to want to do a read on one or two fds anyway.
*/
npollfds= adns__pollfds(ads,pollfds);
* likely just to want to do a read on one or two fds anyway.
*/
npollfds= adns__pollfds(ads,pollfds);
+ for (i=0; i<npollfds; i++) pollfds[i].revents= pollfds[i].events;
adns__fdevents(ads,
pollfds,npollfds,
0,0,0,0,
adns__fdevents(ads,
pollfds,npollfds,
0,0,0,0,