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-new-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-new-session.c')
-rw-r--r-- | cmd-new-session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-new-session.c b/cmd-new-session.c index c078d1d2..09413796 100644 --- a/cmd-new-session.c +++ b/cmd-new-session.c @@ -231,7 +231,7 @@ cmd_new_session_exec(struct cmd *self, struct cmd_ctx *ctx) */ if (!detached) { if (ctx->cmdclient != NULL) { - server_write_client(ctx->cmdclient, MSG_READY, NULL, 0); + server_write_ready(ctx->cmdclient); old_s = ctx->cmdclient->session; if (old_s != NULL) |