diff options
author | Frederic Marec <frederic.marec@iot.bzh> | 2018-11-28 10:22:45 +0100 |
---|---|---|
committer | Frederic Marec <frederic.marec@iot.bzh> | 2018-11-30 12:11:25 +0100 |
commit | df71761154c09b051ca17fe8cdf63ae477a4f471 (patch) | |
tree | 51c4eb2380127786a4302d6e0e6db1be9090316d | |
parent | 012fd23c3f67f826eed267f1c5235809fa51c2bc (diff) |
Bump app-controller-submodule
Bump app-controller-submodule
Fix ctrlConfig following app-controller-submodule modification
Change-Id: Ifd93d20bbff336420f478229f640d8304b502fc4
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
m--------- | app-controller-submodule | 0 | ||||
-rw-r--r-- | src/mapis.c | 2 |
2 files changed, 2 insertions, 0 deletions
diff --git a/app-controller-submodule b/app-controller-submodule -Subproject ce075383309a30bb7084309014c7f1c2f699bf0 +Subproject 70e1d98f1118c4785dde75cb64af9272fce1167 diff --git a/src/mapis.c b/src/mapis.c index fbe3e68..c356208 100644 --- a/src/mapis.c +++ b/src/mapis.c @@ -33,6 +33,8 @@ static int LoadOneMapi(void *data, afb_api_t apiHandle) { struct mapisHandleT *mapisHandle = (struct mapisHandleT*)data; CtlConfigT *ctrlConfig = afb_api_get_userdata(mapisHandle->mainApiHandle); + afb_api_set_userdata(apiHandle, ctrlConfig); + if(PluginConfig(apiHandle, mapisHandle->section, mapisHandle->mapiJ)) { AFB_API_ERROR(apiHandle, "Problem loading the plugin as an API for %s, see log message above", json_object_get_string(mapisHandle->mapiJ)); return -1; |