Mercurial > dropbear
comparison cli-chansession.c @ 1267:1f9858bfe03e
put default in switch/case
author | Francois Perrad <francois.perrad@gadz.org> |
---|---|
date | Thu, 31 Dec 2015 18:02:21 +0100 |
parents | 7373b304868d |
children | 9169e4e7cbee |
comparison
equal
deleted
inserted
replaced
1266:7373b304868d | 1267:1f9858bfe03e |
---|---|
444 kill(getpid(), SIGTSTP); | 444 kill(getpid(), SIGTSTP); |
445 /* after continuation */ | 445 /* after continuation */ |
446 cli_tty_setup(); | 446 cli_tty_setup(); |
447 cli_ses.winchange = 1; | 447 cli_ses.winchange = 1; |
448 return 1; | 448 return 1; |
449 } | 449 default: |
450 return 0; | 450 return 0; |
451 } | |
451 } | 452 } |
452 | 453 |
453 static | 454 static |
454 void cli_escape_handler(struct Channel* UNUSED(channel), unsigned char* buf, int *len) { | 455 void cli_escape_handler(struct Channel* UNUSED(channel), unsigned char* buf, int *len) { |
455 char c; | 456 char c; |