projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b97d1c5
)
Comment on conversion
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 29 Dec 2009 10:02:26 +0000
(11:02 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 29 Dec 2009 10:02:26 +0000
(11:02 +0100)
src/eventl.c
patch
|
blob
|
history
diff --git
a/src/eventl.c
b/src/eventl.c
index
e8f6324
..
a34e76a
100644
(file)
--- a/
src/eventl.c
+++ b/
src/eventl.c
@@
-117,8
+117,9
@@
int iochan_event_loop(IOCHAN *iochans)
w = p->max_idle;
else
w = ftime - now;
+ /* tv_sec will be minimum wait.. */
if (w < tv_sec)
- tv_sec = w;
+ tv_sec = (int) w; /* can hold it because w < tv_sec */
}
fds[i].fd = p->fd;
fds[i].input_mask = input_mask;