chiark
/
gitweb
/
~mdw
/
adns
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove __checkqueues; improve some comments.
[adns]
/
src
/
event.c
diff --git
a/src/event.c
b/src/event.c
index b3f71dd72c5149c5ba4dfe9ad92964c8f7c0111a..e3f72a409c731e37b192007f60afe2cc868a29b4 100644
(file)
--- a/
src/event.c
+++ b/
src/event.c
@@
-184,9
+184,9
@@
void adns__timeouts(adns_state ads, int act,
inter_maxtoabs(tv_io,tvbuf,now,qu->timeout);
} else {
if (!act) {
- tvbuf
.
tv_sec= 0;
- tvbuf
.
tv_usec= 0;
- *tv_io=
&
tvbuf;
+ tvbuf
->
tv_sec= 0;
+ tvbuf
->
tv_usec= 0;
+ *tv_io= tvbuf;
return;
}
LIST_UNLINK(ads->timew,qu);