diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2010-12-20 00:17:22 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2010-12-20 00:17:22 +0000 |
commit | 9358cfaf4a566a060af81312ff73ee1e3e8c8ced (patch) | |
tree | 9bb80e4b6807c9b434f7b463c7caed9cdb581584 /server-client.c | |
parent | a51dcdc430150b688d56ec35e8c96ce6f978f68b (diff) | |
download | rtmux-9358cfaf4a566a060af81312ff73ee1e3e8c8ced.tar.gz rtmux-9358cfaf4a566a060af81312ff73ee1e3e8c8ced.tar.bz2 rtmux-9358cfaf4a566a060af81312ff73ee1e3e8c8ced.zip |
Use pointer rather than index for the client's last session.
Diffstat (limited to 'server-client.c')
-rw-r--r-- | server-client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server-client.c b/server-client.c index 290a175a..c4cc9847 100644 --- a/server-client.c +++ b/server-client.c @@ -78,7 +78,7 @@ server_client_create(int fd) c->title = NULL; c->session = NULL; - c->last_session = UINT_MAX; + c->last_session = NULL; c->tty.sx = 80; c->tty.sy = 24; |