diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2012-05-22 10:56:48 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2012-05-22 10:56:48 +0000 |
commit | 682884edc5ef0b6ded98b385fce3066e820317ff (patch) | |
tree | 7c4c263a8a0efc26d181714998beef142d628225 /cmd-attach-session.c | |
parent | 82b053a81135c0873f9aa8824386e63abd48bbc4 (diff) | |
download | rtmux-682884edc5ef0b6ded98b385fce3066e820317ff.tar.gz rtmux-682884edc5ef0b6ded98b385fce3066e820317ff.tar.bz2 rtmux-682884edc5ef0b6ded98b385fce3066e820317ff.zip |
Add a helper function to send ready message.
Diffstat (limited to 'cmd-attach-session.c')
-rw-r--r-- | cmd-attach-session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-attach-session.c b/cmd-attach-session.c index c4ee2437..d07b727d 100644 --- a/cmd-attach-session.c +++ b/cmd-attach-session.c @@ -94,7 +94,7 @@ cmd_attach_session_exec(struct cmd *self, struct cmd_ctx *ctx) ctx->cmdclient->session = s; notify_attached_session_changed(ctx->cmdclient); session_update_activity(s); - server_write_client(ctx->cmdclient, MSG_READY, NULL, 0); + server_write_ready(ctx->cmdclient); update = options_get_string(&s->options, "update-environment"); environ_update(update, &ctx->cmdclient->environ, &s->environ); |