diff options
author | Fulup Ar Foll <fulup@iot.bzh> | 2017-10-24 22:17:59 +0200 |
---|---|---|
committer | Fulup Ar Foll <fulup@iot.bzh> | 2017-10-24 22:17:59 +0200 |
commit | d0563706f01f9da67de39a30e6eeb324cc25652d (patch) | |
tree | 158e6d4920cd460ccafbdaa1cee97738242daec6 /ctl-lib/ctl-onload.c | |
parent | 17a6011775e8c6d1536994f8b9cd4fa2f99791f7 (diff) |
First working version as submodule
Diffstat (limited to 'ctl-lib/ctl-onload.c')
-rw-r--r-- | ctl-lib/ctl-onload.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ctl-lib/ctl-onload.c b/ctl-lib/ctl-onload.c index 1dec75a..7658622 100644 --- a/ctl-lib/ctl-onload.c +++ b/ctl-lib/ctl-onload.c @@ -41,9 +41,9 @@ PUBLIC int OnloadConfig(AFB_ApiT apiHandle, CtlSectionT *section, json_object *a goto OnErrorExit; } - for (int idx=0; section->actions[idx].label != NULL; idx ++) { + for (int idx=0; section->actions[idx].uid != NULL; idx ++) { CtlSourceT source; - source.label = section->actions[idx].label; + source.uid = section->actions[idx].uid; source.api = section->actions[idx].api; source.request = AFB_ReqNone; |