X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/ea42db4da534aff7a623b651d9287644837b32e2..a728e62d7c25b8d8852e332e729e70248520a925:/event.c 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 }