X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Ftincd.c;h=3883ec263dfdf0555b128a937b4ca426f32fdc09;hp=be131643c6ac3daa0a4fbce907075de33bf92ec5;hb=6bc5d626a8726fc23365ee705761a3c666a08ad4;hpb=d30b9e1272fef18070d37d10b2b3e4bb2fc07f59 diff --git a/src/tincd.c b/src/tincd.c index be131643..3883ec26 100644 --- a/src/tincd.c +++ b/src/tincd.c @@ -450,18 +450,6 @@ int main2(int argc, char **argv) { } #endif -#ifdef HAVE_DARWIN - if(!getenv("EVENT_KQUEUE")) - setenv("EVENT_NOKQUEUE", "1", 0); - if(!getenv("EVENT_POLL")) - setenv("EVENT_NOPOLL", "1", 0); -#endif - - if(!event_init()) { - logger(DEBUG_ALWAYS, LOG_ERR, "Error initializing libevent!"); - return 1; - } - /* Setup sockets and open device. */ if(!setup_network())