summaryrefslogtreecommitdiff
path: root/clientloop.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-04-08 18:07:22 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-04-08 18:07:22 +0000
commitd344763643339b5ddc075cf7b8c8fb4404dc0aa0 (patch)
tree1e686b4c26e7f9821c973ae161af7385555cc79e /clientloop.c
parentd5730a8b858bdab06f3162ab89c001e63c2b954d (diff)
- markus@cvs.openbsd.org 2001/04/08 11:27:33
[clientloop.c] leave_raw_mode if ssh2 "session" is closed
Diffstat (limited to 'clientloop.c')
-rw-r--r--clientloop.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/clientloop.c b/clientloop.c
index ad20b2f0..94d2ec60 100644
--- a/clientloop.c
+++ b/clientloop.c
@@ -59,7 +59,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: clientloop.c,v 1.60 2001/04/05 21:05:23 markus Exp $");
+RCSID("$OpenBSD: clientloop.c,v 1.61 2001/04/08 11:27:33 markus Exp $");
#include "ssh.h"
#include "ssh1.h"
@@ -796,6 +796,8 @@ client_channel_closed(int id, void *arg)
error("client_channel_closed: id %d != session_ident %d",
id, session_ident);
session_closed = 1;
+ if (in_raw_mode)
+ leave_raw_mode();
}
/*