aboutsummaryrefslogtreecommitdiffstats
path: root/ctl-lib/ctl-onload.c
diff options
context:
space:
mode:
authorClément Bénier <clement.benier@iot.bzh>2018-08-30 11:03:22 +0200
committerClément Bénier <clement.benier@iot.bzh>2018-10-05 14:38:35 +0200
commit1f55a87db34f67504e55e80137b309f215d93cdc (patch)
tree012e674f433a12dc2e21d9186f335b8234b44599 /ctl-lib/ctl-onload.c
parent1d757228d9acb1d09ce966fe68b87fc067b9d9af (diff)
shared library: update to a v3 shared librarysandbox/benierc/shared-library
- AFB_BINDING_VERSION = 3 - remove preprocessor variables - mandatory lua - name of library is ctl-utilities - does not work with v2 versions - remove afb-definitions.h Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
Diffstat (limited to 'ctl-lib/ctl-onload.c')
-rw-r--r--ctl-lib/ctl-onload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctl-lib/ctl-onload.c b/ctl-lib/ctl-onload.c
index 46196c2..c631e4c 100644
--- a/ctl-lib/ctl-onload.c
+++ b/ctl-lib/ctl-onload.c
@@ -43,7 +43,7 @@ int OnloadConfig(afb_api_t apiHandle, CtlSectionT *section, json_object *actions
CtlSourceT source;
source.uid = section->actions[idx].uid;
source.api = section->actions[idx].api;
- source.request = AFB_ReqNone;
+ source.request = NULL;
if(!err)
err = ActionExecOne(&source, &section->actions[idx], NULL);