summaryrefslogtreecommitdiffstats
path: root/ctl-lib
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-12-13 15:02:54 +0100
commit1817f8b71b99fbd909937bde1812ca3a0c4c4a85 (patch)
treeecb79a8595258de5aa74c5098cf3c60016e02d83 /ctl-lib
parent60bee26867f53c1fc9be9c58e09b010080338186 (diff)
Fix: changes key name.
We could have several file Change-Id: Ia612cb6989a05cc47505ec8975ae825be160af2a Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'ctl-lib')
-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) {