1
0
mirror of https://github.com/tmate-io/tmate-ssh-server.git synced 2020-11-18 19:53:51 -08:00

Fix another stray addition that was too early. Oops.

This commit is contained in:
Nicholas Marriott 2010-12-20 01:28:18 +00:00
parent 6fcdc714b6
commit 1b8488ee75

View File

@ -190,7 +190,6 @@ session_next_session(struct session *s)
if (ARRAY_LENGTH(&sessions) == 0 || session_index(s, &i) != 0)
return (NULL);
i = 0;
do {
if (i == ARRAY_LENGTH(&sessions) - 1)
i = 0;