diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2010-12-20 00:17:23 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2010-12-20 00:17:23 +0000 |
commit | 8d312727886f803dd597e8b1bdb75fa19a6c07ea (patch) | |
tree | acc1daeca3ff12118062c6e8c04683ada734fd2c /usr.bin/tmux/server-client.c | |
parent | 9f7c689cb8ccc8428baf5d610708ebbb50f2b592 (diff) |
Use pointer rather than index for the client's last session.
Diffstat (limited to 'usr.bin/tmux/server-client.c')
-rw-r--r-- | usr.bin/tmux/server-client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/server-client.c b/usr.bin/tmux/server-client.c index e8f2b48c167..0d5a983cbf2 100644 --- a/usr.bin/tmux/server-client.c +++ b/usr.bin/tmux/server-client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: server-client.c,v 1.44 2010/12/11 18:39:25 nicm Exp $ */ +/* $OpenBSD: server-client.c,v 1.45 2010/12/20 00:17:22 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net> @@ -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; |