summaryrefslogtreecommitdiff
path: root/ev.c
diff options
context:
space:
mode:
authorroot <root>2007-11-11 04:02:54 +0000
committerroot <root>2007-11-11 04:02:54 +0000
commit7633bcdce9c376b70aca8166696f360a4e5bbddc (patch)
tree726c77592300feb3fcc1384fd5d08c74a82c22d1 /ev.c
parentbd3b97e1eff26d02c4d78cb6ff944d20793de4cb (diff)
cna you say fuck?
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 299ba00..cad6350 100644
--- a/ev.c
+++ b/ev.c
@@ -1463,7 +1463,7 @@ void
ev_prepare_stop (EV_P_ struct ev_prepare *w)
{
ev_clear_pending (EV_A_ (W)w);
- if (ev_is_active (w))
+ if (!ev_is_active (w))
return;
prepares [((W)w)->active - 1] = prepares [--preparecnt];