diff options
author | 2020-05-16 14:49:50 +0000 | |
---|---|---|
committer | 2020-05-16 14:49:50 +0000 | |
commit | c27246d42322a7b3a9fc642a23d44fe4d5eb433e (patch) | |
tree | 74c74c54f593223b149f5289c1b36cf5ef0f6354 /usr.bin/tmux/tmux.h | |
parent | Instead of having a default set of terminals in terminal-overrides that (diff) | |
download | wireguard-openbsd-c27246d42322a7b3a9fc642a23d44fe4d5eb433e.tar.xz wireguard-openbsd-c27246d42322a7b3a9fc642a23d44fe4d5eb433e.zip |
Instead of forbidding invalid session names, sanitize them like window
names.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r-- | usr.bin/tmux/tmux.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index e5024ba8b56..a78409b0058 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.1022 2020/05/16 14:46:14 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.1023 2020/05/16 14:49:50 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -2720,7 +2720,7 @@ struct session *session_create(const char *, const char *, const char *, void session_destroy(struct session *, int, const char *); void session_add_ref(struct session *, const char *); void session_remove_ref(struct session *, const char *); -int session_check_name(const char *); +char *session_check_name(const char *); void session_update_activity(struct session *, struct timeval *); struct session *session_next_session(struct session *); struct session *session_previous_session(struct session *); |