The unified diff between revisions [bea3887a..] and [d05a6820..] is displayed below. It can also be downloaded as a raw diff.
This diff has been restricted to the following files: 'cli-chansession.c'
#
#
# patch "cli-chansession.c"
# from [8250f8508ce081c3facf84f9a8b5cd5caab220e5]
# to [f5eb2dfd55e1a3ae3ba64c6c0e83fec38689babb]
#
============================================================
--- cli-chansession.c 8250f8508ce081c3facf84f9a8b5cd5caab220e5
+++ cli-chansession.c f5eb2dfd55e1a3ae3ba64c6c0e83fec38689babb
@@ -162,8 +162,6 @@ static void put_termcodes() {
static void put_termcodes() {
- TRACE(("enter put_termcodes"))
-
struct termios tio;
unsigned int sshcode;
const struct TermCode *termcode;
@@ -172,6 +170,8 @@ static void put_termcodes() {
unsigned int bufpos1, bufpos2;
+ TRACE(("enter put_termcodes"))
+
if (tcgetattr(STDIN_FILENO, &tio) == -1) {
dropbear_log(LOG_WARNING, "Failed reading termmodes");
buf_putint(ses.writepayload, 1); /* Just the terminator */