From 5331da6a4d0c77e70d134fa40b5061b00ab593b0 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Thu, 4 Jun 1998 20:27:49 +0000 Subject: [PATCH] Fixed processing of timers. --- sysdep/unix/io.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c index a94b8ea4..9cab1dc2 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)