X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-api-so-v2.c;h=ba53223f2cf9deca79339f9614ecbca199b170d4;hb=7a7268a5697b0b988bcabc00390878edee941b4e;hp=edc31d530e26510ff24b13f109d3dca4c7ff094b;hpb=4a6490b96d8ac2da6a19b4f251c005ff1b1e7d61;p=src%2Fapp-framework-binder.git diff --git a/src/afb-api-so-v2.c b/src/afb-api-so-v2.c index edc31d53..ba53223f 100644 --- a/src/afb-api-so-v2.c +++ b/src/afb-api-so-v2.c @@ -67,7 +67,8 @@ static void call_cb(void *closure, struct afb_xreq *xreq) struct api_so_v2 *desc = closure; const struct afb_verb_v2 *verb; - 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_v2(xreq, verb); }