Use pointer rather than index for the client's last session.

This commit is contained in:
Nicholas Marriott
2010-12-20 00:17:22 +00:00
parent a51dcdc430
commit 9358cfaf4a
5 changed files with 14 additions and 16 deletions

View File

@@ -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;