mirror of
https://github.com/tmate-io/tmate.git
synced 2024-11-27 02:23:15 +01:00
Tiny cleanup.
ok nicm@
This commit is contained in:
parent
ccba613e5b
commit
e323f6620d
4
server.c
4
server.c
@ -1228,8 +1228,8 @@ server_second_timers(void)
|
|||||||
/* If locked, redraw all clients. */
|
/* If locked, redraw all clients. */
|
||||||
if (server_locked) {
|
if (server_locked) {
|
||||||
for (i = 0; i < ARRAY_LENGTH(&clients); i++) {
|
for (i = 0; i < ARRAY_LENGTH(&clients); i++) {
|
||||||
if (ARRAY_ITEM(&clients, i) != NULL)
|
if ((c = ARRAY_ITEM(&clients, i)) != NULL)
|
||||||
server_redraw_client(ARRAY_ITEM(&clients, i));
|
server_redraw_client(c);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user