summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-10-16 21:24:07 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-10-23 13:00:32 +0200
commit29cdbe709db6af42775c1abc3499a80ad73159d0 (patch)
tree42b6b6cd3f03834f437b4f76abff5ab6ba95fc98 /src
parent201b3b1745c1d5138d904a37a82d185bc610c4da (diff)
afb-api-dyn: Uniform return 0 on success
Change-Id: I6ca079fa84547928f999e07d1925202a1e14850f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src')
-rw-r--r--src/afb-api-dyn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afb-api-dyn.c b/src/afb-api-dyn.c
index 571f7fac..0667f519 100644
--- a/src/afb-api-dyn.c
+++ b/src/afb-api-dyn.c
@@ -274,7 +274,7 @@ int afb_api_dyn_add(struct afb_apiset *apiset, const char *name, const char *inf
goto error;
}
INFO("binding %s added to set %s", afb_export_apiname(dynapi->export), afb_apiset_name(apiset));
- return 1;
+ return 0;
error:
afb_export_destroy(export);