=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tmux.c,v retrieving revision 1.138 retrieving revision 1.139 diff -c -r1.138 -r1.139 *** src/usr.bin/tmux/tmux.c 2015/08/30 15:43:40 1.138 --- src/usr.bin/tmux/tmux.c 2015/08/30 22:19:07 1.139 *************** *** 1,4 **** ! /* $OpenBSD: tmux.c,v 1.138 2015/08/30 15:43:40 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: tmux.c,v 1.139 2015/08/30 22:19:07 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 41,48 **** struct options global_w_options; /* window options */ struct environ global_environ; - struct event_base *ev_base; - char *cfg_file; char *shell_cmd; int debug_level; --- 41,46 ---- *************** *** 386,391 **** setproctitle("%s (%s)", __progname, socket_path); /* Pass control to the client. */ ! ev_base = event_init(); ! exit(client_main(argc, argv, flags)); } --- 384,388 ---- setproctitle("%s (%s)", __progname, socket_path); /* Pass control to the client. */ ! exit(client_main(event_init(), argc, argv, flags)); }