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) 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;