]> git.meshlink.io Git - meshlink/blobdiff - src/tincd.c
Drop libevent and use our own event handling again.
[meshlink] / src / tincd.c
index be131643c6ac3daa0a4fbce907075de33bf92ec5..3883ec263dfdf0555b128a937b4ca426f32fdc09 100644 (file)
@@ -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())