summaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authornicm <nicm>2013-10-10 12:29:35 +0000
committernicm <nicm>2013-10-10 12:29:35 +0000
commitc1ccefc62d2a70c91ac31cff141031d61cc0a12c (patch)
tree924a96d6a8d0f1fe0e98e1ad8c6bb9af6bf2be27 /client.c
parent6ac7abe8f038c21c1cf33d50a02e970f0de81c09 (diff)
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 'client.c')
-rw-r--r--client.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/client.c b/client.c
index 0d57b793..3b929b71 100644
--- a/client.c
+++ b/client.c
@@ -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) {