X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/5729d3bccbc199121ad453715d49f417aa932b00..8ee1afd13859937076f9a9ff5e3420d3304f524e:/ev.c diff --git a/ev.c b/ev.c index 888c779..e09fc84 100644 --- a/ev.c +++ b/ev.c @@ -613,7 +613,7 @@ int ev_loop_done; void ev_loop (int flags) { double block; - ev_loop_done = flags & EVLOOP_ONESHOT ? 1 : 0; + ev_loop_done = flags & (EVLOOP_ONESHOT | EVLOOP_NONBLOCK) ? 1 : 0; do {