summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-11-23 15:44:24 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2017-11-24 17:44:58 +0100
commit7998a472352c0272a90c66ab45c4c2758cd6040a (patch)
treede3fb484fa2bca0850354f611551b049083d1420 /src
parent633ebe33015554a14b773053188e2faba0faff04 (diff)
Rework on systemd start of user sessions
Change-Id: Iad46596435eebdc5c521b572fd8320b52a61d197 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src')
-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);