diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2013-10-06 22:38:33 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2013-10-06 22:38:33 +0100 |
commit | e9b09faab262f179fec936c4036713866b98e3d0 (patch) | |
tree | 75efa6b12a3b46b846d7c1eb39bb4894c2b25b2f /client.c | |
parent | 5ea6148362e6f80019b0f41c29bdc395c69e41dc (diff) | |
download | rtmux-e9b09faab262f179fec936c4036713866b98e3d0.tar.gz rtmux-e9b09faab262f179fec936c4036713866b98e3d0.tar.bz2 rtmux-e9b09faab262f179fec936c4036713866b98e3d0.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 'client.c')
-rw-r--r-- | client.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -284,10 +284,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) { |