]> git.llucax.com Git - software/libev.git/commitdiff
dohdohdoh
authorroot <root>
Wed, 31 Oct 2007 21:50:15 +0000 (21:50 +0000)
committerroot <root>
Wed, 31 Oct 2007 21:50:15 +0000 (21:50 +0000)
ev.c

diff --git a/ev.c b/ev.c
index 888c77952ed964285cbcb715da3dcd1ca6011f4d..e09fc84ee229b1e36a8c8f61a06625dfdd2bfb35 100644 (file)
--- 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
     {