summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMatthias Kilian <kili@cvs.openbsd.org>2009-09-07 19:08:46 +0000
committerMatthias Kilian <kili@cvs.openbsd.org>2009-09-07 19:08:46 +0000
commit83a9b83217e3e27c960e51da4254a5d5b694838d (patch)
treef42e08903d4dd684322a5b63aa1fea46b5f10f7f /usr.bin
parent29fe4d30cc579413ebfdcd44d778e22964639d87 (diff)
Tiny cleanup.
ok nicm@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/tmux/server.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/server.c b/usr.bin/tmux/server.c
index 400bed6431a..249ffefee5f 100644
--- a/usr.bin/tmux/server.c
+++ b/usr.bin/tmux/server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server.c,v 1.29 2009/09/05 17:42:16 nicm Exp $ */
+/* $OpenBSD: server.c,v 1.30 2009/09/07 19:08:45 kili Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -1228,8 +1228,8 @@ server_second_timers(void)
/* If locked, redraw all clients. */
if (server_locked) {
for (i = 0; i < ARRAY_LENGTH(&clients); i++) {
- if (ARRAY_ITEM(&clients, i) != NULL)
- server_redraw_client(ARRAY_ITEM(&clients, i));
+ if ((c = ARRAY_ITEM(&clients, i)) != NULL)
+ server_redraw_client(c);
}
}
}