diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-11-11 08:00:42 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-11-11 08:00:42 +0000 |
commit | 2756437f4bd1c0def6877e3742f018b3fbb721da (patch) | |
tree | 77a50265b96bff13535689934a1c597487d96406 /cmd-attach-session.c | |
parent | 15b9946a4094d22f3bde6ef5af67fbb526807329 (diff) | |
download | rtmux-2756437f4bd1c0def6877e3742f018b3fbb721da.tar.gz rtmux-2756437f4bd1c0def6877e3742f018b3fbb721da.tar.bz2 rtmux-2756437f4bd1c0def6877e3742f018b3fbb721da.zip |
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 'cmd-attach-session.c')
-rw-r--r-- | cmd-attach-session.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd-attach-session.c b/cmd-attach-session.c index 92be3085..59c2b479 100644 --- a/cmd-attach-session.c +++ b/cmd-attach-session.c @@ -101,6 +101,7 @@ cmd_attach_session_exec(struct cmd *self, struct cmd_ctx *ctx) server_redraw_client(ctx->cmdclient); } recalculate_sizes(); + server_update_socket(); return (1); /* 1 means don't tell command client to exit */ } |