summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/session.c
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2004-06-30 08:37:00 +0000
committerDamien Miller <djm@cvs.openbsd.org>2004-06-30 08:37:00 +0000
commitc093a54310ca3208cb6e70a926347dfeafa64312 (patch)
tree91e640cfc5543f77c24019f24f6c4604e0179e60 /usr.bin/ssh/session.c
parent6d3c7d5bc58df565f78bfa21ed1b450fdb68b045 (diff)
unbreak TTY break, diagnosed by darren AT dazwin.com; ok markus@
Diffstat (limited to 'usr.bin/ssh/session.c')
-rw-r--r--usr.bin/ssh/session.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/ssh/session.c b/usr.bin/ssh/session.c
index 28625838066..9d3aa1b5e13 100644
--- a/usr.bin/ssh/session.c
+++ b/usr.bin/ssh/session.c
@@ -33,7 +33,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: session.c,v 1.176 2004/06/21 17:53:03 djm Exp $");
+RCSID("$OpenBSD: session.c,v 1.177 2004/06/30 08:36:59 djm Exp $");
#include "ssh.h"
#include "ssh1.h"
@@ -1602,15 +1602,16 @@ session_input_channel_req(Channel *c, const char *rtype)
success = session_auth_agent_req(s);
} else if (strcmp(rtype, "subsystem") == 0) {
success = session_subsystem_req(s);
- } else if (strcmp(rtype, "break") == 0) {
- success = session_break_req(s);
} else if (strcmp(rtype, "env") == 0) {
success = session_env_req(s);
}
}
if (strcmp(rtype, "window-change") == 0) {
success = session_window_change_req(s);
+ } else if (strcmp(rtype, "break") == 0) {
+ success = session_break_req(s);
}
+
return success;
}