]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Fixed processing of timers.
authorMartin Mares <mj@ucw.cz>
Thu, 4 Jun 1998 20:27:49 +0000 (20:27 +0000)
committerMartin Mares <mj@ucw.cz>
Thu, 4 Jun 1998 20:27:49 +0000 (20:27 +0000)
sysdep/unix/io.c

index a94b8ea4497f04c6a84516280dfeeb7de2476085..9cab1dc213253d73b9eb18989e8ea4f420acdf51 100644 (file)
@@ -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)