mirror of
https://github.com/tmate-io/tmate.git
synced 2025-01-12 08:58:12 +01:00
Fix another stray addition that was too early. Oops.
This commit is contained in:
parent
6fcdc714b6
commit
1b8488ee75
@ -190,7 +190,6 @@ session_next_session(struct session *s)
|
|||||||
if (ARRAY_LENGTH(&sessions) == 0 || session_index(s, &i) != 0)
|
if (ARRAY_LENGTH(&sessions) == 0 || session_index(s, &i) != 0)
|
||||||
return (NULL);
|
return (NULL);
|
||||||
|
|
||||||
i = 0;
|
|
||||||
do {
|
do {
|
||||||
if (i == ARRAY_LENGTH(&sessions) - 1)
|
if (i == ARRAY_LENGTH(&sessions) - 1)
|
||||||
i = 0;
|
i = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user