X-Git-Url: https://git.distorted.org.uk/~mdw/adns/blobdiff_plain/d942707de2dd9809338882f09a9f23316dc8be36..226c5eef1caec08ee33276de158e263c0593c0d0:/client/adnslogres.c diff --git a/client/adnslogres.c b/client/adnslogres.c index c2ca2ef..b567bf9 100644 --- a/client/adnslogres.c +++ b/client/adnslogres.c @@ -154,7 +154,7 @@ static void proclog(int opts) { err= adns_wait(adns, &head->query, &answer, NULL); else err= adns_check(adns, &head->query, &answer, NULL); - if (err != EWOULDBLOCK) { + if (err != EAGAIN) { printline(head->start, head->addr, head->rest, answer->status == adns_s_ok ? *answer->rrs.str : NULL); line= head; head= head->next;