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-v2.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-v2.c')
-rw-r--r-- | src/afb-api-so-v2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afb-api-so-v2.c b/src/afb-api-so-v2.c index fef6eb20..edc31d53 100644 --- a/src/afb-api-so-v2.c +++ b/src/afb-api-so-v2.c @@ -168,7 +168,7 @@ int afb_api_so_v2_add_binding(const struct afb_binding_v2 *binding, void *handle assert(data); /* allocates the description */ - export = afb_export_create_v2(binding->api, data, binding->init, binding->onevent); + export = afb_export_create_v2(apiset, binding->api, data, binding->init, binding->onevent); desc = calloc(1, sizeof *desc); if (!desc || !export) { ERROR("out of memory"); |