]> git.llucax.com Git - software/libev.git/commitdiff
cna you say fuck?
authorroot <root>
Sun, 11 Nov 2007 04:04:23 +0000 (04:04 +0000)
committerroot <root>
Sun, 11 Nov 2007 04:04:23 +0000 (04:04 +0000)
ev.c

diff --git a/ev.c b/ev.c
index cad6350eab6039d34b521a82c136f5f604c9c780..5124b2b742d00368d9c77b076c6a8597803aecee 100644 (file)
--- a/ev.c
+++ b/ev.c
@@ -1441,7 +1441,7 @@ void
 ev_idle_stop (EV_P_ struct ev_idle *w)
 {
   ev_clear_pending (EV_A_ (W)w);
-  if (ev_is_active (w))
+  if (!ev_is_active (w))
     return;
 
   idles [((W)w)->active - 1] = idles [--idlecnt];