X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-api-so-v1.c;h=9a9e47a4b9829c74c6c3b49cca46e10dd29c51a7;hb=4e0bac794d9aabd3fa5ff1883152ea0ea41031f7;hp=d7429efe01308121533adc3d5515eaf2d3a330a8;hpb=ae5d707f9348b50d44724ec2b091f4528ff0a72b;p=src%2Fapp-framework-binder.git diff --git a/src/afb-api-so-v1.c b/src/afb-api-so-v1.c index d7429efe..9a9e47a4 100644 --- a/src/afb-api-so-v1.c +++ b/src/afb-api-so-v1.c @@ -67,7 +67,8 @@ static void call_cb(void *closure, struct afb_xreq *xreq) const struct afb_verb_desc_v1 *verb; struct api_so_v1 *desc = closure; - verb = search(desc, xreq->verb); + xreq->request.dynapi = (void*)desc->export; /* hack: this avoids to export afb_export structure */ + verb = search(desc, xreq->request.verb); afb_xreq_call_verb_v1(xreq, verb); }