diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-04-24 16:40:10 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-04-24 16:40:10 +0100 |
commit | 9b571daceec3ba038c669e90e20c3c0c2c755c57 (patch) | |
tree | 4c558a2b3b7cf54028192afcaacf782581bcc9eb /tmux.h | |
parent | 527f66ed23a88a59fb3d8c1972336f55612059bf (diff) | |
download | rtmux-9b571daceec3ba038c669e90e20c3c0c2c755c57.tar.gz rtmux-9b571daceec3ba038c669e90e20c3c0c2c755c57.tar.bz2 rtmux-9b571daceec3ba038c669e90e20c3c0c2c755c57.zip |
Instead of forbidding invalid session names, sanitize them.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2722,7 +2722,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 *); |