Mercurial > dropbear
comparison cli-chansession.c @ 1266:7373b304868d
remove unreachable code
author | Francois Perrad <francois.perrad@gadz.org> |
---|---|
date | Thu, 31 Dec 2015 17:33:36 +0100 |
parents | aaf576b27a10 |
children | 1f9858bfe03e |
comparison
equal
deleted
inserted
replaced
1265:81ae6ed4e2f4 | 1266:7373b304868d |
---|---|
436 do_escape(unsigned char c) { | 436 do_escape(unsigned char c) { |
437 switch (c) { | 437 switch (c) { |
438 case '.': | 438 case '.': |
439 dropbear_exit("Terminated"); | 439 dropbear_exit("Terminated"); |
440 return 1; | 440 return 1; |
441 break; | |
442 case 0x1a: | 441 case 0x1a: |
443 /* ctrl-z */ | 442 /* ctrl-z */ |
444 cli_tty_cleanup(); | 443 cli_tty_cleanup(); |
445 kill(getpid(), SIGTSTP); | 444 kill(getpid(), SIGTSTP); |
446 /* after continuation */ | 445 /* after continuation */ |
447 cli_tty_setup(); | 446 cli_tty_setup(); |
448 cli_ses.winchange = 1; | 447 cli_ses.winchange = 1; |
449 return 1; | 448 return 1; |
450 break; | |
451 } | 449 } |
452 return 0; | 450 return 0; |
453 } | 451 } |
454 | 452 |
455 static | 453 static |