From b9adaa4f8bd3283922d0896590f9ea3842887f44 Mon Sep 17 00:00:00 2001 From: Jan Vidar Krey Date: Tue, 4 Aug 2009 00:22:08 +0200 Subject: [PATCH] Fix libevent init. --- src/network/network.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/network/network.c b/src/network/network.c index 1e7ac21..4615388 100644 --- a/src/network/network.c +++ b/src/network/network.c @@ -47,11 +47,7 @@ int net_initialize() } #endif /* WINSOCK */ -#ifdef LIBEVENT_1_4 - net_evbase = event_base_new(); -#else net_evbase = event_init(); -#endif if (!net_evbase) { LOG_ERROR("Unable to initialize libevent.");