diff options
Diffstat (limited to 'os')
-rw-r--r-- | os/WaitFor.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/os/WaitFor.c b/os/WaitFor.c index fa6a99b18..7c7b1d2d4 100644 --- a/os/WaitFor.c +++ b/os/WaitFor.c @@ -193,10 +193,9 @@ WaitForSomething(Bool are_ready) are_ready = clients_are_ready(); } + timeout = check_timers(); if (are_ready) timeout = 0; - else - timeout = check_timers(); BlockHandler(&timeout); if (NewOutputPending) |