From 682884edc5ef0b6ded98b385fce3066e820317ff Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Tue, 22 May 2012 10:56:48 +0000 Subject: Add a helper function to send ready message. --- cmd-new-session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd-new-session.c') 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) -- cgit v1.2.3