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 /server-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 'server-client.c')
-rw-r--r-- | server-client.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server-client.c b/server-client.c index 090916c8..aceef6e2 100644 --- a/server-client.c +++ b/server-client.c @@ -62,6 +62,8 @@ server_client_create(int fd) fatal("gettimeofday failed"); memcpy(&c->activity_time, &c->creation_time, sizeof c->activity_time); + environ_init(&c->environ); + c->cmdq = cmdq_new(c); c->cmdq->client_exit = 1; |