comparison cli-chansession.c @ 300:baea1d43e7eb

Some cleanups/fixes for various TRACE statements
author Matt Johnston <matt@ucc.asn.au>
date Sat, 25 Mar 2006 12:57:37 +0000
parents 84925eceeb13
children 1876c6bb084b
comparison
equal deleted inserted replaced
291:55a99934db87 300:baea1d43e7eb
160 TRACE(("leave cli_tty_cleanup")) 160 TRACE(("leave cli_tty_cleanup"))
161 } 161 }
162 162
163 static void put_termcodes() { 163 static void put_termcodes() {
164 164
165 TRACE(("enter put_termcodes"))
166
167 struct termios tio; 165 struct termios tio;
168 unsigned int sshcode; 166 unsigned int sshcode;
169 const struct TermCode *termcode; 167 const struct TermCode *termcode;
170 unsigned int value; 168 unsigned int value;
171 unsigned int mapcode; 169 unsigned int mapcode;
170
171 TRACE(("enter put_termcodes"))
172 172
173 unsigned int bufpos1, bufpos2; 173 unsigned int bufpos1, bufpos2;
174 174
175 if (tcgetattr(STDIN_FILENO, &tio) == -1) { 175 if (tcgetattr(STDIN_FILENO, &tio) == -1) {
176 dropbear_log(LOG_WARNING, "Failed reading termmodes"); 176 dropbear_log(LOG_WARNING, "Failed reading termmodes");