diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2015-11-24 22:27:23 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2015-11-24 22:27:23 +0000 |
commit | d8423aef2cf174dc8a9c68303172ee9ecda52782 (patch) | |
tree | 524147ad4166ba6e2050f2b4d627ad6507197e10 /usr.bin/tmux/tmux.h | |
parent | a98518a8100f7d1b9c027e790ec5a81aa6a4bd79 (diff) |
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 '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 35d5e84a8bd..e2924f53ac4 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.589 2015/11/24 21:52:06 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.590 2015/11/24 22:27:22 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -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 *); |