comparison cli-chansession.c @ 839:33207ed1174b

Merge in ECC
author Matt Johnston <matt@ucc.asn.au>
date Mon, 21 Oct 2013 22:57:21 +0800
parents 4095b6d7c9fc
children c19acba28590
comparison
equal deleted inserted replaced
834:e378da7eae5d 839:33207ed1174b
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