summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sysdep/unix/io.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c
index a94b8ea..9cab1dc 100644
--- a/sysdep/unix/io.c
+++ b/sysdep/unix/io.c
@@ -709,7 +709,10 @@ io_loop(void)
continue;
}
else
- timo.tv_sec = tout - now;
+ {
+ timo.tv_sec = tout - now;
+ timo.tv_usec = 0;
+ }
hi = 0;
WALK_LIST(n, sock_list)