Sync OpenBSD patchset 805:

Fix another stray addition that was too early. Oops.
pull/1/head
Tiago Cunha 2010-12-22 15:33:14 +00:00
parent c05a47ad0d
commit 9f3399da00
1 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $Id: session.c,v 1.81 2010-12-22 15:32:40 tcunha Exp $ */
/* $Id: session.c,v 1.82 2010-12-22 15:33:14 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -189,7 +189,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;