From 9ed7c9fbc28666a03e6604d25430c764a614a608 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Bollo?= Date: Fri, 13 Oct 2017 15:30:38 +0200 Subject: [PATCH] afm-binding: Restore previous return for 'start' MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: I28cd41391d207b59d74d2ff661e5981b9947c716 Signed-off-by: José Bollo --- src/afm-binding.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/afm-binding.c b/src/afm-binding.c index 3923462..1ff0eb2 100644 --- a/src/afm-binding.c +++ b/src/afm-binding.c @@ -206,7 +206,11 @@ static void start(struct afb_req req) /* returns */ resp = NULL; +#if 0 wrap_json_pack(&resp, "{si}", _runid_, runid); +#else + wrap_json_pack(&resp, "i", runid); +#endif afb_req_success(req, resp, NULL); } -- 2.16.6