aboutsummaryrefslogtreecommitdiff
path: root/server-client.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2010-12-20 00:17:22 +0000
committerNicholas Marriott <nicm@openbsd.org>2010-12-20 00:17:22 +0000
commit9358cfaf4a566a060af81312ff73ee1e3e8c8ced (patch)
tree9bb80e4b6807c9b434f7b463c7caed9cdb581584 /server-client.c
parenta51dcdc430150b688d56ec35e8c96ce6f978f68b (diff)
downloadrtmux-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.c2
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;