diff options
author | Martin Mares <mj@ucw.cz> | 1998-06-04 22:27:49 +0200 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1998-06-04 22:27:49 +0200 |
commit | 5331da6a4d0c77e70d134fa40b5061b00ab593b0 (patch) | |
tree | e41db3c0db911f60f2fa4bac6768d1720a7dfac5 /sysdep/unix | |
parent | fd50083df499dd7aa4dd3eec97171003da300250 (diff) | |
download | bird-5331da6a4d0c77e70d134fa40b5061b00ab593b0.tar bird-5331da6a4d0c77e70d134fa40b5061b00ab593b0.zip |
Fixed processing of timers.
Diffstat (limited to 'sysdep/unix')
-rw-r--r-- | sysdep/unix/io.c | 5 |
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) |