mirror of
https://github.com/tmate-io/tmate.git
synced 2024-12-25 16:19:02 +01:00
Sync OpenBSD patchset 448:
Don't try to continue processing a client if the session has been destroyed.
This commit is contained in:
parent
181f7722b3
commit
6338fd78f7
@ -1,4 +1,4 @@
|
|||||||
/* $Id: server-client.c,v 1.6 2009-10-28 22:48:35 tcunha Exp $ */
|
/* $Id: server-client.c,v 1.7 2009-10-28 22:50:24 tcunha Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
|
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||||
@ -198,9 +198,10 @@ server_client_loop(void)
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
server_client_handle_data(c);
|
server_client_handle_data(c);
|
||||||
|
if (c->session != NULL) {
|
||||||
server_client_check_timers(c);
|
server_client_check_timers(c);
|
||||||
server_client_check_redraw(c);
|
server_client_check_redraw(c);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user