X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/adns/blobdiff_plain/dec46a9cf6c9cfa0a7b513f24bc8bfc61c62ad83..c6f9dc7b9895537e6b56d4b363f27867a5142b16:/client/adnslogres.c diff --git a/client/adnslogres.c b/client/adnslogres.c index 8079485..9ee856d 100644 --- a/client/adnslogres.c +++ b/client/adnslogres.c @@ -30,7 +30,7 @@ */ static const char * const cvsid = - "$Id: adnslogres.c,v 1.4 1999/10/10 13:16:24 ian Exp $"; + "$Id: adnslogres.c,v 1.5 1999/10/12 22:56:16 ian Exp $"; #include #include @@ -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;