chiark
/
gitweb
/
~mdw
/
adns
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a8701dd
)
Correct fix for infinite timeouts.
author
ian
<ian>
Fri, 15 Oct 1999 17:20:09 +0000
(17:20 +0000)
committer
ian
<ian>
Fri, 15 Oct 1999 17:20:09 +0000
(17:20 +0000)
src/event.c
patch
|
blob
|
blame
|
history
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);