diff options
author | Mikael Magnusson <mikma@users.sourceforge.net> | 2023-11-25 23:43:10 +0100 |
---|---|---|
committer | Mikael Magnusson <mikma@users.sourceforge.net> | 2023-11-25 23:43:10 +0100 |
commit | 2386db2410c2f0595bc07ae8b71b936201a13539 (patch) | |
tree | 4090db0384fdae6bd1b3d054b851ced19d8cd133 | |
parent | b762cae03afee145dfb6b4edca56ef2060d58f52 (diff) | |
parent | 6a242b3ec66f2ab89f9277e67125eab3e3676644 (diff) |
Merge commit '6a242b3e' into wireguard-next-tmp7-1
-rw-r--r-- | sysdep/unix/io.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c index a3c4a29f..f6d8c947 100644 --- a/sysdep/unix/io.c +++ b/sysdep/unix/io.c @@ -2303,12 +2303,12 @@ io_loop(void) for(;;) { times_update(&main_timeloop); - events = ev_run_list(&global_event_list); - events = ev_run_list_limited(&global_work_list, WORK_EVENTS_MAX) || events; + ev_run_list(&global_event_list); + ev_run_list_limited(&global_work_list, WORK_EVENTS_MAX); timers_fire(&main_timeloop); io_close_event(); - // FIXME + events = !EMPTY_LIST(global_event_list) || !EMPTY_LIST(global_work_list); poll_tout = (events ? 0 : 3000); /* Time in milliseconds */ if (t = timers_first(&main_timeloop)) { |