summaryrefslogtreecommitdiffstats
path: root/cmd-new-session.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2012-05-22 10:56:48 +0000
committerNicholas Marriott <nicm@openbsd.org>2012-05-22 10:56:48 +0000
commit682884edc5ef0b6ded98b385fce3066e820317ff (patch)
tree7c4c263a8a0efc26d181714998beef142d628225 /cmd-new-session.c
parent82b053a81135c0873f9aa8824386e63abd48bbc4 (diff)
Add a helper function to send ready message.
Diffstat (limited to 'cmd-new-session.c')
-rw-r--r--cmd-new-session.c2
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)