From e9562d24870837453ece1ae7898fdf93f9ac66ab Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 11 Nov 2009 08:00:43 +0000 Subject: Only need to chmod +x or -x the socket when a client is created, lost or attached, rather than every event loop. --- usr.bin/tmux/server-client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.bin/tmux/server-client.c') 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 @@ -156,6 +156,7 @@ server_client_lost(struct client *c) c->flags |= CLIENT_DEAD; recalculate_sizes(); + server_update_socket(); } /* Process a single client event. */ -- cgit v1.2.3