From ea42db4da534aff7a623b651d9287644837b32e2 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 12 Nov 2007 07:58:13 +0000 Subject: *** empty log message *** --- event.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'event.c') diff --git a/event.c b/event.c index b4ac267..ecad9a1 100644 --- a/event.c +++ b/event.c @@ -91,13 +91,13 @@ void *event_init (void) { #if EV_MULTIPLICITY if (x_cur) - x_cur = (struct event_base *)ev_loop_new (EVMETHOD_AUTO); + x_cur = (struct event_base *)ev_loop_new (EVFLAG_AUTO); else - x_cur = (struct event_base *)ev_default_loop (EVMETHOD_AUTO); + x_cur = (struct event_base *)ev_default_loop (EVFLAG_AUTO); #else assert (("multiple event bases not supported when not compiled with EV_MULTIPLICITY", !x_cur)); - x_cur = (struct event_base *)(long)ev_default_loop (EVMETHOD_AUTO); + x_cur = (struct event_base *)(long)ev_default_loop (EVFLAG_AUTO); #endif return x_cur; -- cgit v1.2.3