aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2015-11-24 22:27:22 +0000
committernicm <nicm>2015-11-24 22:27:22 +0000
commitc913fb99b6f0f7d08b77d8d021df7d7fa27f82d0 (patch)
treed9b0d5ab77c55306a63e785bb3be533cd5baa072 /tmux.h
parent8976dac9e0c2e55b240ad55f4f7fa0a3b887c0e2 (diff)
downloadrtmux-c913fb99b6f0f7d08b77d8d021df7d7fa27f82d0.tar.gz
rtmux-c913fb99b6f0f7d08b77d8d021df7d7fa27f82d0.tar.bz2
rtmux-c913fb99b6f0f7d08b77d8d021df7d7fa27f82d0.zip
Tidy the code that works out the socket path, and just use the full path
in the global socket_path rather than copying it.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index 97908d98..50d7fb03 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1433,7 +1433,7 @@ extern struct options *global_w_options;
extern struct environ *global_environ;
extern char *shell_cmd;
extern struct timeval start_time;
-extern char socket_path[PATH_MAX];
+extern const char *socket_path;
const char *getshell(void);
int checkshell(const char *);
int areshell(const char *);