X-Git-Url: https://git.distorted.org.uk/~mdw/adns/blobdiff_plain/d05cc33061a2dc90fe499e72fb50b766588891f3..403fa0e058081023f023947bc8d1617199c61488:/client/adnstest.c diff --git a/client/adnstest.c b/client/adnstest.c index 95f89b7..2f9e525 100644 --- a/client/adnstest.c +++ b/client/adnstest.c @@ -20,7 +20,6 @@ int main(void) { r= adns_wait(ads,&qu,&ans,0); if (r) { perror("wait"); exit(2); } - if (!ans) { fputs("no answer\n",stderr); exit(2); } fprintf(stderr,"answer status %d type %d rrs %d cname %s\n", ans->status,ans->type,ans->nrrs, ans->cname ? ans->cname : "-");