summaryrefslogtreecommitdiffstats
path: root/cmd-attach-session.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-11-13 16:51:49 +0000
committerTiago Cunha <tcunha@gmx.com>2009-11-13 16:51:49 +0000
commit1b4a76d58fc513b53ec86c8226621c012de62e5f (patch)
tree0e95d76349790a3da9a54049ce57c4b43a4f7231 /cmd-attach-session.c
parent7230fe1648831a17165201b6f02e0365f7b5f938 (diff)
Sync OpenBSD patchset 527:
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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd-attach-session.c b/cmd-attach-session.c
index d83e4c58..dc5f6abf 100644
--- a/cmd-attach-session.c
+++ b/cmd-attach-session.c
@@ -1,4 +1,4 @@
-/* $Id: cmd-attach-session.c,v 1.32 2009-08-09 17:48:55 tcunha Exp $ */
+/* $Id: cmd-attach-session.c,v 1.33 2009-11-13 16:51:49 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -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 */
}