mirror of
https://github.com/tmate-io/tmate-ssh-server.git
synced 2020-11-18 19:53:51 -08:00
Style tweaks.
This commit is contained in:
parent
acf13ce978
commit
6fd2b5b87f
4
input.c
4
input.c
@ -720,11 +720,11 @@ input_parse(struct window_pane *wp)
|
|||||||
* Execute the handler, if any. Don't switch state if it
|
* Execute the handler, if any. Don't switch state if it
|
||||||
* returns non-zero.
|
* returns non-zero.
|
||||||
*/
|
*/
|
||||||
if (itr->handler && itr->handler(ictx) != 0)
|
if (itr->handler != NULL && itr->handler(ictx) != 0)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
/* And switch state, if necessary. */
|
/* And switch state, if necessary. */
|
||||||
if (itr->state) {
|
if (itr->state != NULL) {
|
||||||
if (ictx->state->exit != NULL)
|
if (ictx->state->exit != NULL)
|
||||||
ictx->state->exit(ictx);
|
ictx->state->exit(ictx);
|
||||||
ictx->state = itr->state;
|
ictx->state = itr->state;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user