diff options
author | 2015-10-27 13:23:24 +0000 | |
---|---|---|
committer | 2015-10-27 13:23:24 +0000 | |
commit | 5b8ac713229c2d8f70554cd7f8b1b510ef9b62a4 (patch) | |
tree | ebcb1555f7a0554e0995b34e7fe690f3c21fcad4 /usr.bin/tmux/tmux.c | |
parent | Remove wrong line. (diff) | |
download | wireguard-openbsd-5b8ac713229c2d8f70554cd7f8b1b510ef9b62a4.tar.xz wireguard-openbsd-5b8ac713229c2d8f70554cd7f8b1b510ef9b62a4.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 'usr.bin/tmux/tmux.c')
-rw-r--r-- | usr.bin/tmux/tmux.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/tmux/tmux.c b/usr.bin/tmux/tmux.c index 702052a8ba4..98122652cf1 100644 --- a/usr.bin/tmux/tmux.c +++ b/usr.bin/tmux/tmux.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.c,v 1.146 2015/10/25 07:48:16 deraadt Exp $ */ +/* $OpenBSD: tmux.c,v 1.147 2015/10/27 13:23:24 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -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)); } |