chiark
/
gitweb
/
~mdw
/
adns
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Regression tests compile on systems without poll(2). Do not install
[adns]
/
src
/
query.c
diff --git
a/src/query.c
b/src/query.c
index 3fab80c02f06f37cb2d897669642e52222d8c1b4..a35d8ba4bb799039ba4cf0a2b553857e8ce63ab3 100644
(file)
--- a/
src/query.c
+++ b/
src/query.c
@@
-203,7
+203,7
@@
int adns_submit(adns_state ads,
const char *p;
typei= adns__findtype(type);
- if (!typei) return
adns_s_unknownrrtype
;
+ if (!typei) return
ENOSYS
;
r= gettimeofday(&now,0); if (r) goto x_errno;
qu= query_alloc(ads,typei,flags,now); if (!qu) goto x_errno;