chiark
/
gitweb
/
~ianmdlvl
/
adns.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
time handling: Support use of CLOCK_MONOTONIC
[adns.git]
/
src
/
query.c
diff --git
a/src/query.c
b/src/query.c
index 4eba88871f651c921fbf727206868c9b2f009e3e..82adbddb1562e0925646f9dd03d6ef4a3a796f44 100644
(file)
--- a/
src/query.c
+++ b/
src/query.c
@@
-284,7
+284,7
@@
int adns_submit(adns_state ads,
typei= adns__findtype(type);
if (!typei) return ENOSYS;
- r=
gettimeofday(&now,0
); if (r) goto x_errno;
+ r=
adns__gettimeofday(ads,&now
); if (r) goto x_errno;
qu= query_alloc(ads,typei,type,flags,now); if (!qu) goto x_errno;
qu->ctx.ext= context;