summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-10-13 15:30:38 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-11-24 17:44:57 +0100
commit9ed7c9fbc28666a03e6604d25430c764a614a608 (patch)
tree5c03cfa0dfbe1bee4328a4aeca0abdc3879da031
parent76e60e87a135522f091f444dab0a0e130906a554 (diff)
afm-binding: Restore previous return for 'start'
Change-Id: I28cd41391d207b59d74d2ff661e5981b9947c716 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-rw-r--r--src/afm-binding.c4
1 files changed, 4 insertions, 0 deletions
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);
}