summaryrefslogtreecommitdiffstats
path: root/src/afm-binding.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/afm-binding.c')
-rw-r--r--src/afm-binding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afm-binding.c b/src/afm-binding.c
index ce6e9f1..032e28f 100644
--- a/src/afm-binding.c
+++ b/src/afm-binding.c
@@ -104,7 +104,7 @@ static int onrunid(struct afb_req req, const char *method, int *runid)
json = afb_req_json(req);
if (wrap_json_unpack(json, "i", runid)
- && wrap_json_unpack(json, "{si}", "runid", runid)) {
+ && wrap_json_unpack(json, "{si}", _runid_, runid)) {
INFO("bad request method %s: %s", method,
json_object_to_json_string(json));
bad_request(req);