diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-10-21 09:24:59 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-10-21 09:24:59 +0000 |
commit | 2bbf7ca3ab74b2e3a9b2e361fe56aeac1e2f4867 (patch) | |
tree | 6d0ad563f29e8b130a876da955b3174e40defed3 /src/protocol.c | |
parent | Releasing debian version 1.7.1-1. (diff) | |
download | ttyd-2bbf7ca3ab74b2e3a9b2e361fe56aeac1e2f4867.tar.xz ttyd-2bbf7ca3ab74b2e3a9b2e361fe56aeac1e2f4867.zip |
Merging upstream version 1.7.2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/protocol.c')
-rw-r--r-- | src/protocol.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/protocol.c b/src/protocol.c index 5341c3d..cc0945b 100644 --- a/src/protocol.c +++ b/src/protocol.c @@ -314,6 +314,7 @@ int callback_tty(struct lws *wsi, enum lws_callback_reasons reason, void *user, } break; case RESIZE_TERMINAL: + if (pss->process == NULL) break; json_object_put( parse_window_size(pss->buffer + 1, pss->len - 1, &pss->process->columns, &pss->process->rows)); pty_resize(pss->process); |