summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2004-06-30 22:41:07 +1000
committerDamien Miller <djm@mindrot.org>2004-06-30 22:41:07 +1000
commita6b1d169e601a5fe0dcd0e49c038671446932026 (patch)
tree09571b5a68e721520e33499f7662f005cb68fa03
parent386c6a2c707b0c2a7b3370ba669881e72670ed14 (diff)
- djm@cvs.openbsd.org 2004/06/30 08:36:59
[session.c] unbreak TTY break, diagnosed by darren AT dazwin.com; ok markus@
-rw-r--r--ChangeLog5
-rw-r--r--session.c7
2 files changed, 8 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 2f6d02306..9b90db35d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -16,6 +16,9 @@
16 - avsm@cvs.openbsd.org 2004/06/26 20:07:16 16 - avsm@cvs.openbsd.org 2004/06/26 20:07:16
17 [sshd.c] 17 [sshd.c]
18 initialise some fd variables to -1, djm@ ok 18 initialise some fd variables to -1, djm@ ok
19 - djm@cvs.openbsd.org 2004/06/30 08:36:59
20 [session.c]
21 unbreak TTY break, diagnosed by darren AT dazwin.com; ok markus@
19 22
2020040627 2320040627
21 - (tim) update README files. 24 - (tim) update README files.
@@ -1462,4 +1465,4 @@
1462 - (djm) Trim deprecated options from INSTALL. Mention UsePAM 1465 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
1463 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 1466 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
1464 1467
1465$Id: ChangeLog,v 1.3462 2004/06/30 12:40:20 djm Exp $ 1468$Id: ChangeLog,v 1.3463 2004/06/30 12:41:07 djm Exp $
diff --git a/session.c b/session.c
index 8720ae7be..cf2098931 100644
--- a/session.c
+++ b/session.c
@@ -33,7 +33,7 @@
33 */ 33 */
34 34
35#include "includes.h" 35#include "includes.h"
36RCSID("$OpenBSD: session.c,v 1.176 2004/06/21 17:53:03 djm Exp $"); 36RCSID("$OpenBSD: session.c,v 1.177 2004/06/30 08:36:59 djm Exp $");
37 37
38#include "ssh.h" 38#include "ssh.h"
39#include "ssh1.h" 39#include "ssh1.h"
@@ -1920,15 +1920,16 @@ session_input_channel_req(Channel *c, const char *rtype)
1920 success = session_auth_agent_req(s); 1920 success = session_auth_agent_req(s);
1921 } else if (strcmp(rtype, "subsystem") == 0) { 1921 } else if (strcmp(rtype, "subsystem") == 0) {
1922 success = session_subsystem_req(s); 1922 success = session_subsystem_req(s);
1923 } else if (strcmp(rtype, "break") == 0) {
1924 success = session_break_req(s);
1925 } else if (strcmp(rtype, "env") == 0) { 1923 } else if (strcmp(rtype, "env") == 0) {
1926 success = session_env_req(s); 1924 success = session_env_req(s);
1927 } 1925 }
1928 } 1926 }
1929 if (strcmp(rtype, "window-change") == 0) { 1927 if (strcmp(rtype, "window-change") == 0) {
1930 success = session_window_change_req(s); 1928 success = session_window_change_req(s);
1929 } else if (strcmp(rtype, "break") == 0) {
1930 success = session_break_req(s);
1931 } 1931 }
1932
1932 return success; 1933 return success;
1933} 1934}
1934 1935