aboutsummaryrefslogtreecommitdiff
path: root/tmux.c
diff options
context:
space:
mode:
authornicm <nicm>2015-10-27 13:23:24 +0000
committernicm <nicm>2015-10-27 13:23:24 +0000
commit07b0ea03c33893bd2b104db5ea4e1397f92e0477 (patch)
treec24ffdc1db106d5b81ce943c0567f186484ef5eb /tmux.c
parent9952201ca72b42819d64a9174fa7b5b898215668 (diff)
downloadrtmux-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.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tmux.c b/tmux.c
index 8b3d0bfe..01e73f5d 100644
--- a/tmux.c
+++ b/tmux.c
@@ -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));
}