comparison cli-chansession.c @ 761:ac2158e3e403 ecc

ecc kind of works, needs fixing/testing
author Matt Johnston <matt@ucc.asn.au>
date Sun, 07 Apr 2013 01:36:42 +0800
parents 4a274f47eabd
children 7dcb46da72d9
comparison
equal deleted inserted replaced
760:f336d232fc63 761:ac2158e3e403
453 } 453 }
454 return 0; 454 return 0;
455 } 455 }
456 456
457 static 457 static
458 void cli_escape_handler(struct Channel *channel, unsigned char* buf, int *len) { 458 void cli_escape_handler(struct Channel* UNUSED(channel), unsigned char* buf, int *len) {
459 char c; 459 char c;
460 int skip_char = 0; 460 int skip_char = 0;
461 461
462 // only handle escape characters if they are read one at a time. simplifies 462 // only handle escape characters if they are read one at a time. simplifies
463 // the code and avoids nasty people putting ~. at the start of a line to paste 463 // the code and avoids nasty people putting ~. at the start of a line to paste