diff options
author | Tiago Cunha <tcunha@gmx.com> | 2010-12-22 15:31:00 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2010-12-22 15:31:00 +0000 |
commit | bb728b89a7b0e0f1921c336d3f25ab0ee02322f8 (patch) | |
tree | 7b130934f4b366ad4094dc66a1a85dbc4e74dcf9 /server-client.c | |
parent | 64d16cf2d67c42642401cd0bbaeb278a1c00822a (diff) | |
download | rtmux-bb728b89a7b0e0f1921c336d3f25ab0ee02322f8.tar.gz rtmux-bb728b89a7b0e0f1921c336d3f25ab0ee02322f8.tar.bz2 rtmux-bb728b89a7b0e0f1921c336d3f25ab0ee02322f8.zip |
Sync OpenBSD patchset 802:
Use pointer rather than index for the client's last session.
Diffstat (limited to 'server-client.c')
-rw-r--r-- | server-client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server-client.c b/server-client.c index 313fbdda..5bff166e 100644 --- a/server-client.c +++ b/server-client.c @@ -1,4 +1,4 @@ -/* $Id: server-client.c,v 1.47 2010-12-11 18:42:20 nicm Exp $ */ +/* $Id: server-client.c,v 1.48 2010-12-22 15:31:00 tcunha Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net> @@ -77,7 +77,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; |