aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2010-12-22 15:33:14 +0000
committerTiago Cunha <tcunha@gmx.com>2010-12-22 15:33:14 +0000
commit9f3399da001580aa8b2118bb38245c7c5f26e944 (patch)
tree95ca8f92f61946cfc888400bb68856c40cd17015
parentc05a47ad0d4522785199f4b724f10a8814058fb1 (diff)
downloadrtmux-9f3399da001580aa8b2118bb38245c7c5f26e944.tar.gz
rtmux-9f3399da001580aa8b2118bb38245c7c5f26e944.tar.bz2
rtmux-9f3399da001580aa8b2118bb38245c7c5f26e944.zip
Sync OpenBSD patchset 805:
Fix another stray addition that was too early. Oops.
-rw-r--r--session.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/session.c b/session.c
index 40e9731f..2badf8bc 100644
--- a/session.c
+++ b/session.c
@@ -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;