summaryrefslogtreecommitdiff
path: root/ev.c
diff options
context:
space:
mode:
Diffstat (limited to 'ev.c')
-rw-r--r--ev.c2
1 files changed, 1 insertions, 1 deletions
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
{