summaryrefslogtreecommitdiffstats
path: root/ctl-lib/ctl-plugin.c
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-08-08 15:53:22 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-08-08 15:54:53 +0200
commit789a8ae5080bc91ab9ec3bd7760f88b5d214001c (patch)
tree71740a3da990486882e1ec472e6e10313fa43de4 /ctl-lib/ctl-plugin.c
parent3891dcc4fc4c014422925c5705c575431b9939dd (diff)
Adds v3 function to get binding settingsflounder_5.99.3flounder/5.99.35.99.3
Adds v3 function to get binding settings waiting the real migration of the controller to v3 Change-Id: Iece3fcbcb81de807927765097c964e3272165947 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'ctl-lib/ctl-plugin.c')
-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 7755f4a..cefd593 100644
--- a/ctl-lib/ctl-plugin.c
+++ b/ctl-lib/ctl-plugin.c
@@ -243,7 +243,7 @@ char *GetDefaultPluginSearchPath(AFB_ApiT apiHandle, const char *prefix)
const char *bindingPath;
const char *envDirList;
size_t envDirList_len;
- json_object *settings = afb_api_settings(apiHandle);
+ json_object *settings = AFB_GetApiSettings(apiHandle);
json_object *bpath;
if(json_object_object_get_ex(settings, "binding-path", &bpath)) {