diff options
author | José Bollo <jose.bollo@iot.bzh> | 2017-09-21 18:17:39 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2017-10-09 14:08:32 +0200 |
commit | ae5d707f9348b50d44724ec2b091f4528ff0a72b (patch) | |
tree | a099dd9cb3829a387151615ecb288f2d5601651e /src/afb-api-so-v1.c | |
parent | 89190b853409c3d0465232da6dd11e4c0a0b73d7 (diff) |
afb-export: record apiset at creation
Change-Id: I058eaee990e34990d0860a316ba8c348c23eff5f
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-api-so-v1.c')
-rw-r--r-- | src/afb-api-so-v1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afb-api-so-v1.c b/src/afb-api-so-v1.c index c69f2945..d7429efe 100644 --- a/src/afb-api-so-v1.c +++ b/src/afb-api-so-v1.c @@ -212,7 +212,7 @@ int afb_api_so_v1_add(const char *path, void *handle, struct afb_apiset *apiset) /* allocates the description */ init = dlsym(handle, afb_api_so_v1_service_init); onevent = dlsym(handle, afb_api_so_v1_service_event); - export = afb_export_create_v1(path, init, onevent); + export = afb_export_create_v1(apiset, path, init, onevent); desc = calloc(1, sizeof *desc); if (desc == NULL || export == NULL) { ERROR("out of memory"); |