diff options
author | José Bollo <jose.bollo@iot.bzh> | 2019-05-03 15:08:10 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2019-05-03 15:19:51 +0200 |
commit | 4da9c713d091872f8e18cf096d2c5f616183d3b4 (patch) | |
tree | a8d2cdec54ef8a1c3f91b85582cd1729dbada3e3 /src/afb-api-v3.c | |
parent | 5d57096e3682083c20b2a0fd3ddb9ef75148a94e (diff) |
afb-export: Fix requirement on multiple apis
The test 'test-apiv3' was failing because the required
api list "albert armel" wasn't splitted but set as-is.
At the same time, test suite is improved.
Bug-AGL: SPEC-1130
Bug-AGL: SPEC-2377
Change-Id: Ia4ab23bf666b5b4b1db3e1da2654d9387c2c01e5
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-api-v3.c')
-rw-r--r-- | src/afb-api-v3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afb-api-v3.c b/src/afb-api-v3.c index 7b889ee8..6469b886 100644 --- a/src/afb-api-v3.c +++ b/src/afb-api-v3.c @@ -365,7 +365,7 @@ int afb_api_v3_set_binding_fields(const struct afb_binding_v3 *desc, struct afb_ if (!rc && desc->require_class) rc = afb_api_x3_require_class(api, desc->require_class); if (!rc && desc->require_api) - rc = afb_api_x3_require_api(api, desc->require_api, 1); + rc = afb_api_x3_require_api(api, desc->require_api, 0); return rc; } |