diff options
author | nicm <nicm> | 2013-10-10 12:29:35 +0000 |
---|---|---|
committer | nicm <nicm> | 2013-10-10 12:29:35 +0000 |
commit | c1ccefc62d2a70c91ac31cff141031d61cc0a12c (patch) | |
tree | 924a96d6a8d0f1fe0e98e1ad8c6bb9af6bf2be27 /server-client.c | |
parent | 6ac7abe8f038c21c1cf33d50a02e970f0de81c09 (diff) | |
download | rtmux-c1ccefc62d2a70c91ac31cff141031d61cc0a12c.tar.gz rtmux-c1ccefc62d2a70c91ac31cff141031d61cc0a12c.tar.bz2 rtmux-c1ccefc62d2a70c91ac31cff141031d61cc0a12c.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 e202902e..6aa2a0fa 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; |