diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-04-08 18:07:22 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-04-08 18:07:22 +0000 |
commit | d344763643339b5ddc075cf7b8c8fb4404dc0aa0 (patch) | |
tree | 1e686b4c26e7f9821c973ae161af7385555cc79e | |
parent | d5730a8b858bdab06f3162ab89c001e63c2b954d (diff) |
- markus@cvs.openbsd.org 2001/04/08 11:27:33
[clientloop.c]
leave_raw_mode if ssh2 "session" is closed
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | clientloop.c | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -6,6 +6,9 @@ | |||
6 | - markus@cvs.openbsd.org 2001/04/08 13:03:00 | 6 | - markus@cvs.openbsd.org 2001/04/08 13:03:00 |
7 | [ssh-add.c] | 7 | [ssh-add.c] |
8 | init pointers with NULL, thanks to danimal@danimal.org | 8 | init pointers with NULL, thanks to danimal@danimal.org |
9 | - markus@cvs.openbsd.org 2001/04/08 11:27:33 | ||
10 | [clientloop.c] | ||
11 | leave_raw_mode if ssh2 "session" is closed | ||
9 | 12 | ||
10 | 20010408 | 13 | 20010408 |
11 | - OpenBSD CVS Sync | 14 | - OpenBSD CVS Sync |
@@ -4946,4 +4949,4 @@ | |||
4946 | - Wrote replacements for strlcpy and mkdtemp | 4949 | - Wrote replacements for strlcpy and mkdtemp |
4947 | - Released 1.0pre1 | 4950 | - Released 1.0pre1 |
4948 | 4951 | ||
4949 | $Id: ChangeLog,v 1.1081 2001/04/08 18:04:36 mouring Exp $ | 4952 | $Id: ChangeLog,v 1.1082 2001/04/08 18:07:22 mouring Exp $ |
diff --git a/clientloop.c b/clientloop.c index ad20b2f0e..94d2ec60b 100644 --- a/clientloop.c +++ b/clientloop.c | |||
@@ -59,7 +59,7 @@ | |||
59 | */ | 59 | */ |
60 | 60 | ||
61 | #include "includes.h" | 61 | #include "includes.h" |
62 | RCSID("$OpenBSD: clientloop.c,v 1.60 2001/04/05 21:05:23 markus Exp $"); | 62 | RCSID("$OpenBSD: clientloop.c,v 1.61 2001/04/08 11:27:33 markus Exp $"); |
63 | 63 | ||
64 | #include "ssh.h" | 64 | #include "ssh.h" |
65 | #include "ssh1.h" | 65 | #include "ssh1.h" |
@@ -796,6 +796,8 @@ client_channel_closed(int id, void *arg) | |||
796 | error("client_channel_closed: id %d != session_ident %d", | 796 | error("client_channel_closed: id %d != session_ident %d", |
797 | id, session_ident); | 797 | id, session_ident); |
798 | session_closed = 1; | 798 | session_closed = 1; |
799 | if (in_raw_mode) | ||
800 | leave_raw_mode(); | ||
799 | } | 801 | } |
800 | 802 | ||
801 | /* | 803 | /* |