summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/server.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2017-02-09 15:04:53 +0000
committernicm <nicm@openbsd.org>2017-02-09 15:04:53 +0000
commit06440b28c5f5ef25525d90ca1b06d61a9ed6a6bc (patch)
treea30f1887e92f21fc65dbf90d6ba62c66ab8b2838 /usr.bin/tmux/server.c
parentDocument refresh-client -C. (diff)
downloadwireguard-openbsd-06440b28c5f5ef25525d90ca1b06d61a9ed6a6bc.tar.xz
wireguard-openbsd-06440b28c5f5ef25525d90ca1b06d61a9ed6a6bc.zip
Instead of numbering session groups, give them a name which may be given
to -t instead of a target session. Also allow them to contain only one session.
Diffstat (limited to 'usr.bin/tmux/server.c')
-rw-r--r--usr.bin/tmux/server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/server.c b/usr.bin/tmux/server.c
index 5b55ead59a1..b01c4a01997 100644
--- a/usr.bin/tmux/server.c
+++ b/usr.bin/tmux/server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server.c,v 1.165 2017/01/24 21:50:22 nicm Exp $ */
+/* $OpenBSD: server.c,v 1.166 2017/02/09 15:04:53 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -156,7 +156,7 @@ server_start(struct event_base *base, int lockfd, char *lockfile)
RB_INIT(&all_window_panes);
TAILQ_INIT(&clients);
RB_INIT(&sessions);
- TAILQ_INIT(&session_groups);
+ RB_INIT(&session_groups);
key_bindings_init();
gettimeofday(&start_time, NULL);