X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-api-so-v2.c;h=11fa334bd515d7119f1b7a0e2c3f85813dbc1223;hb=4db507f7d53a09cf3f572dedcc304f334970ce06;hp=1c5fe520b6ba5f7558cb035f0e92cf656fd97182;hpb=aa44ff4b4e94409b5ca7ddc7b6f280865bc36c54;p=src%2Fapp-framework-binder.git diff --git a/src/afb-api-so-v2.c b/src/afb-api-so-v2.c index 1c5fe520..11fa334b 100644 --- a/src/afb-api-so-v2.c +++ b/src/afb-api-so-v2.c @@ -133,7 +133,7 @@ static int service_start_cb(void *closure, int share_session, int onneed, struct } /* get the event handler if any */ - desc->service = afb_svc_create_v2(apiset, share_session, start, onevent, desc->data); + desc->service = afb_svc_create_v2(desc->binding->api, apiset, share_session, start, onevent, desc->data); if (desc->service == NULL) { /* starting error */ ERROR("Starting service %s failed", desc->binding->api);