summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/session.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2022-02-22 11:10:42 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2022-02-22 11:10:42 +0000
commit55b8f279c72f36088270ab4988aaae4de9d1f6cc (patch)
treeb542f767955337711a6354c27a64f4adfe3638e1 /usr.bin/tmux/session.c
parent36e5c39a280f6af578d8db385438e7d0990c3204 (diff)
Add next_session_id format with the next session ID, GitHub issue 3078.
Diffstat (limited to 'usr.bin/tmux/session.c')
-rw-r--r--usr.bin/tmux/session.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/session.c b/usr.bin/tmux/session.c
index 4d0b0262889..f710bd75520 100644
--- a/usr.bin/tmux/session.c
+++ b/usr.bin/tmux/session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.c,v 1.90 2021/09/17 07:20:49 nicm Exp $ */
+/* $OpenBSD: session.c,v 1.91 2022/02/22 11:10:41 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -29,7 +29,7 @@
#include "tmux.h"
struct sessions sessions;
-static u_int next_session_id;
+u_int next_session_id;
struct session_groups session_groups = RB_INITIALIZER(&session_groups);
static void session_free(int, short, void *);