diff options
author | nicm <nicm> | 2015-10-27 13:23:24 +0000 |
---|---|---|
committer | nicm <nicm> | 2015-10-27 13:23:24 +0000 |
commit | 07b0ea03c33893bd2b104db5ea4e1397f92e0477 (patch) | |
tree | c24ffdc1db106d5b81ce943c0567f186484ef5eb /tmux.c | |
parent | 9952201ca72b42819d64a9174fa7b5b898215668 (diff) | |
download | rtmux-07b0ea03c33893bd2b104db5ea4e1397f92e0477.tar.gz rtmux-07b0ea03c33893bd2b104db5ea4e1397f92e0477.tar.bz2 rtmux-07b0ea03c33893bd2b104db5ea4e1397f92e0477.zip |
Break the common process set up, event loop and imsg dispatch code
between server and client out into a separate internal API. This will
make it easier to add another process.
Diffstat (limited to 'tmux.c')
-rw-r--r-- | tmux.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -29,6 +29,7 @@ #include <pwd.h> #include <stdlib.h> #include <string.h> +#include <time.h> #include <unistd.h> #include "tmux.h" @@ -347,9 +348,6 @@ main(int argc, char **argv) } free(path); - /* Set process title. */ - setproctitle("%s (%s)", __progname, socket_path); - /* Pass control to the client. */ exit(client_main(event_init(), argc, argv, flags)); } |