diff options
author | 2013-10-10 12:29:35 +0000 | |
---|---|---|
committer | 2013-10-10 12:29:35 +0000 | |
commit | d87b01fb5034d17ba73d2da58ecfc53e23c31041 (patch) | |
tree | b6377eda32d6538e6cf25219f0af5b4818737279 /usr.bin/tmux/client.c | |
parent | Remove now unused cmd_get_default_path. (diff) | |
download | wireguard-openbsd-d87b01fb5034d17ba73d2da58ecfc53e23c31041.tar.xz wireguard-openbsd-d87b01fb5034d17ba73d2da58ecfc53e23c31041.zip |
We accidentally haven't been using $TMUX to work out the session for a
while and in fact it is less useful that using the client ttyname. So
don't bother and don't pass it from the client. If we need it in future
it is in c->environ.
Diffstat (limited to 'usr.bin/tmux/client.c')
-rw-r--r-- | usr.bin/tmux/client.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.bin/tmux/client.c b/usr.bin/tmux/client.c index 2887f4bb122..966626af31e 100644 --- a/usr.bin/tmux/client.c +++ b/usr.bin/tmux/client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: client.c,v 1.73 2013/10/10 12:28:08 nicm Exp $ */ +/* $OpenBSD: client.c,v 1.74 2013/10/10 12:29:35 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -280,10 +280,6 @@ client_main(int argc, char **argv, int flags) size += strlen(argv[i]) + 1; data = xmalloc((sizeof *data) + size); - /* Fill in command line arguments. */ - data->pid = environ_pid; - data->session_id = environ_session_id; - /* Prepare command for server. */ data->argc = argc; if (cmd_pack_argv(argc, argv, (char*)(data + 1), size) != 0) { |