summaryrefslogtreecommitdiffstats
path: root/src/afb-api-dyn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/afb-api-dyn.c')
-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);