X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/ea42db4da534aff7a623b651d9287644837b32e2..8e61f07d52c0b46222c8be6f32914ada9fbe714b:/event.c?ds=inline diff --git a/event.c b/event.c index ecad9a1..b24d702 100644 --- a/event.c +++ b/event.c @@ -108,7 +108,7 @@ void event_base_free (struct event_base *base) dLOOPbase; #if EV_MULTIPLICITY - if (ev_default_loop (EVMETHOD_AUTO) != loop) + if (ev_default_loop (EVFLAG_AUTO) != loop) ev_loop_destroy (loop); #endif }