Fix libevent init.

This commit is contained in:
Jan Vidar Krey 2009-08-04 00:22:08 +02:00
parent 80dee0c020
commit b9adaa4f8b
1 changed files with 0 additions and 4 deletions

View File

@ -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.");