From 7998a472352c0272a90c66ab45c4c2758cd6040a Mon Sep 17 00:00:00 2001 From: José Bollo Date: Thu, 23 Nov 2017 15:44:24 +0100 Subject: Rework on systemd start of user sessions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Iad46596435eebdc5c521b572fd8320b52a61d197 Signed-off-by: José Bollo --- src/afm-binding.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit 1.2.3-korg