diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-11-11 08:00:43 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-11-11 08:00:43 +0000 |
commit | e9562d24870837453ece1ae7898fdf93f9ac66ab (patch) | |
tree | a27c3c61a02d4b0715e2da831b961ba3ab2febeb /usr.bin/tmux/server-client.c | |
parent | bfb0f4fec84a72e97be1b73db2c40202e07808b6 (diff) |
Only need to chmod +x or -x the socket when a client is created, lost or
attached, rather than every event loop.
Diffstat (limited to 'usr.bin/tmux/server-client.c')
-rw-r--r-- | usr.bin/tmux/server-client.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/server-client.c b/usr.bin/tmux/server-client.c index 0b3bc785e69..bd4b3ed61fc 100644 --- a/usr.bin/tmux/server-client.c +++ b/usr.bin/tmux/server-client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: server-client.c,v 1.18 2009/11/05 08:45:08 nicm Exp $ */ +/* $OpenBSD: server-client.c,v 1.19 2009/11/11 08:00:42 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net> @@ -156,6 +156,7 @@ server_client_lost(struct client *c) c->flags |= CLIENT_DEAD; recalculate_sizes(); + server_update_socket(); } /* Process a single client event. */ |