aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-05-16 14:26:01 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-05-16 14:26:01 +0200
commita633eb46a70d74fdb4a6f383ae5f3af34abb5bc1 (patch)
treeecb79a8595258de5aa74c5098cf3c60016e02d83
parentbe14d7d76c078c7d755291266851cdc6edbd2e6d (diff)
Fix: changes key name.
We could have several file Change-Id: Ia612cb6989a05cc47505ec8975ae825be160af2a Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r--ctl-lib/ctl-plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctl-lib/ctl-plugin.c b/ctl-lib/ctl-plugin.c
index 562f58e..82d87e0 100644
--- a/ctl-lib/ctl-plugin.c
+++ b/ctl-lib/ctl-plugin.c
@@ -290,7 +290,7 @@ static int PluginLoad (AFB_ApiT apiHandle, CtlPluginT *ctlPlugin, json_object *p
"uid", &ctlPlugin->uid,
"info", &ctlPlugin->info,
"spath", &sPath,
- "file", &fileJ,
+ "files", &fileJ,
"lua2c", &lua2csJ,
"lua2c_prefix", &lua2c_prefix);
if (err) {