comparison cli-chansession.c @ 305:1876c6bb084b ucc-axis-hack

A few changes for the 0.48 merge
author matt-ucc@ucc.asn.au
date Sat, 25 Mar 2006 17:10:27 +0000
parents baea1d43e7eb
children a9e0ddac5ba7
comparison
equal deleted inserted replaced
304:1f36a94e01b9 305:1876c6bb084b
166 unsigned int sshcode; 166 unsigned int sshcode;
167 const struct TermCode *termcode; 167 const struct TermCode *termcode;
168 unsigned int value; 168 unsigned int value;
169 unsigned int mapcode; 169 unsigned int mapcode;
170 170
171 unsigned int bufpos1, bufpos2;
172
171 TRACE(("enter put_termcodes")) 173 TRACE(("enter put_termcodes"))
172
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");
177 buf_putint(ses.writepayload, 1); /* Just the terminator */ 177 buf_putint(ses.writepayload, 1); /* Just the terminator */
178 buf_putbyte(ses.writepayload, 0); /* TTY_OP_END */ 178 buf_putbyte(ses.writepayload, 0); /* TTY_OP_END */