Use osdep_event_init() so that LIBEVENT_NOEPOLL and so on are set to turn off

broken event methods. Reported by Suraj N Kurapati.
This commit is contained in:
Nicholas Marriott 2016-05-20 07:54:30 +01:00
parent 2377092a70
commit 7411f21c5f

2
tmux.c
View File

@ -337,5 +337,5 @@ main(int argc, char **argv)
free(label);
/* Pass control to the client. */
exit(client_main(event_init(), argc, argv, flags, shellcmd));
exit(client_main(osdep_event_init(), argc, argv, flags, shellcmd));
}