From: Ian Jackson Date: Thu, 8 Dec 2016 19:32:37 +0000 (+0000) Subject: consistency: Call adns__intdone_process in adns_afterpoll X-Git-Tag: adns-1.5.2~8 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=adns.git;a=commitdiff_plain;h=179e0a75fbe1298e98fd3ef80a4ab0d9543d2f10 consistency: Call adns__intdone_process in adns_afterpoll This avoids crashes if consistency checking is turned on. Signed-off-by: Ian Jackson --- diff --git a/src/poll.c b/src/poll.c index 75bc192..917a524 100644 --- a/src/poll.c +++ b/src/poll.c @@ -89,6 +89,7 @@ void adns_afterpoll(adns_state ads, const struct pollfd *fds, int nfds, adns__must_gettimeofday(ads,&now,&tv_buf); if (now) { adns__timeouts(ads, 1, 0,0, *now); + adns__intdone_process(ads); /* fdevents calls adns_processwriteable */ adns__fdevents(ads, fds,nfds, 0,0,0,0, *now,0); } adns__returning(ads,0);