chiark
/
gitweb
/
~mdw
/
adns
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
All except rrtype-specific stuff complete but largely untest. That is missing so...
[adns]
/
client
/
adnstest.c
diff --git
a/client/adnstest.c
b/client/adnstest.c
index 95f89b770ad7938cd8af93a1b5c628e3ff1fb459..2f9e525132f4df1b3d886e8456c3c9ce927f0ba7 100644
(file)
--- 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 : "-");