aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-03-27 15:57:10 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-03-27 15:57:10 +0000
commitbe0c79f3ad2a94083b6f79d40739b2b68d3848ae (patch)
tree9f35da5bbae4601df1e436b4022e4d543b920ff0 /tmux.h
parent0cb069a6b1e9e597318e0890b0b565261d06acd4 (diff)
downloadrtmux-be0c79f3ad2a94083b6f79d40739b2b68d3848ae.tar.gz
rtmux-be0c79f3ad2a94083b6f79d40739b2b68d3848ae.tar.bz2
rtmux-be0c79f3ad2a94083b6f79d40739b2b68d3848ae.zip
Sockets in /tmp are now created in a subdirectory named, tmux-UID, eg
tmux-1000. The default socket is thus /tmp/tmux-UID/default. To start a separate server, the new -L command line option should be used: this creates a socket in the same directory with a different name ("-L main" will create socket called "main"). -S should only be used to place the socket outside /tmp. This makes sockets a little more secure and a bit more convenient to use multiple servers.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tmux.h b/tmux.h
index 4799aac0..075b56a6 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $Id: tmux.h,v 1.280 2009-03-21 12:44:06 nicm Exp $ */
+/* $Id: tmux.h,v 1.281 2009-03-27 15:57:10 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -1022,7 +1022,7 @@ extern time_t server_activity;
extern int debug_level;
extern int be_quiet;
extern time_t start_time;
-extern const char *socket_path;
+extern char *socket_path;
void logfile(const char *);
void siginit(void);
void sigreset(void);