diff options
author | Matt Johnston <matt@ucc.asn.au> | 2006-03-26 09:26:43 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2006-03-26 09:26:43 +0000 |
commit | d57a56407b3230672d9320d25d11fc2ec58e359f (patch) | |
tree | 5679b7ad4f2d61ac2ae0871832ad06cef9136aa7 /cli-chansession.c | |
parent | 3cee7b6378c826ba9cf87c830bb199d7a4020a85 (diff) |
A few more fixups, make sure that variable declarations are the
first thing in a function
--HG--
extra : convert_revision : 5e475ab869513f9ce5baff42838a656f99300487
Diffstat (limited to 'cli-chansession.c')
-rw-r--r-- | cli-chansession.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli-chansession.c b/cli-chansession.c index 1dad607..fee8a22 100644 --- a/cli-chansession.c +++ b/cli-chansession.c @@ -168,10 +168,10 @@ static void put_termcodes() { unsigned int value; unsigned int mapcode; - TRACE(("enter 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 */ |