diff options
author | nicm <nicm> | 2021-06-10 07:24:45 +0000 |
---|---|---|
committer | nicm <nicm> | 2021-06-10 07:24:45 +0000 |
commit | 9f38a8807c6c6b3b7596f06c2bb662242337ac48 (patch) | |
tree | fcb3b1dcc9ee8b483c38db01bd26ab6344f88873 /status.c | |
parent | 64c276c23bd729c03c2a3ff00c6f9e6ac4c644c6 (diff) | |
download | rtmux-9f38a8807c6c6b3b7596f06c2bb662242337ac48.tar.gz rtmux-9f38a8807c6c6b3b7596f06c2bb662242337ac48.tar.bz2 rtmux-9f38a8807c6c6b3b7596f06c2bb662242337ac48.zip |
Include current client in size calculation for new sessions, GitHub
issue 2662.
Diffstat (limited to 'status.c')
-rw-r--r-- | status.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -226,6 +226,8 @@ status_line_size(struct client *c) if (c->flags & (CLIENT_STATUSOFF|CLIENT_CONTROL)) return (0); + if (s == NULL) + return (options_get_number(global_s_options, "status")); return (s->statuslines); } |