diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2010-12-20 01:28:19 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2010-12-20 01:28:19 +0000 |
commit | 4e4da1b70ea9303fb35a047c2b74152d861fecb9 (patch) | |
tree | afc0f70c0bcc1ca361c74f6018d642e272bff18b | |
parent | 0aea52582ea974ff431d119d26c0f50574048b94 (diff) |
Fix another stray addition that was too early. Oops.
-rw-r--r-- | usr.bin/tmux/session.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/tmux/session.c b/usr.bin/tmux/session.c index fa0e6fa60d1..9e7c827a717 100644 --- a/usr.bin/tmux/session.c +++ b/usr.bin/tmux/session.c @@ -1,4 +1,4 @@ -/* $OpenBSD: session.c,v 1.23 2010/12/20 00:43:24 nicm Exp $ */ +/* $OpenBSD: session.c,v 1.24 2010/12/20 01:28:18 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -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; |