X-Git-Url: https://git.distorted.org.uk/~mdw/adns/blobdiff_plain/940356bdf463f1decefb2c8d63dd33d7276d5991..d6e3e09b500f90c2b6423bbeaaad5019e28e0c4a:/client/adnslogres.c diff --git a/client/adnslogres.c b/client/adnslogres.c index bf17cca..b567bf9 100644 --- a/client/adnslogres.c +++ b/client/adnslogres.c @@ -4,8 +4,12 @@ */ /* * This file is - * Copyright (C) 1999 Tony Finch + * Copyright (C) 1999 Tony Finch * Copyright (C) 1999 Ian Jackson + * + * It is part of adns, which is + * Copyright (C) 1997-1999 Ian Jackson + * Copyright (C) 1999 Tony Finch * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -150,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;