summaryrefslogtreecommitdiff
path: root/event.c
diff options
context:
space:
mode:
authorroot <root>2010-11-10 12:44:22 +0000
committerroot <root>2010-11-10 12:44:22 +0000
commit73baf5073296302492a83885ec55163cfd2caac2 (patch)
treef90abd679269f6df187acb98e7ec22072fa1a1eb /event.c
parent7c978f59531be2da3a3eb4fa4671094337c6c6f3 (diff)
*** empty log message ***
Diffstat (limited to 'event.c')
-rw-r--r--event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/event.c b/event.c
index cef2047..c66db35 100644
--- a/event.c
+++ b/event.c
@@ -110,7 +110,7 @@ void event_base_free (struct event_base *base)
dLOOPbase;
#if EV_MULTIPLICITY
- if (ev_default_loop (EVFLAG_AUTO) != loop)
+ if (!is_default_loop (loop))
ev_loop_destroy (loop);
#endif
}