X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-api-so-v2.c;h=4e34e03c4719109bdea288f28d21b774eef6a679;hb=7effe02be236921437fb77d8fbeb21eb62e35939;hp=75e59d66aa0e7c072707098866e48532684aae70;hpb=bfc92795d467277200f17ec103ff42cf52690c95;p=src%2Fapp-framework-binder.git diff --git a/src/afb-api-so-v2.c b/src/afb-api-so-v2.c index 75e59d66..4e34e03c 100644 --- a/src/afb-api-so-v2.c +++ b/src/afb-api-so-v2.c @@ -142,12 +142,8 @@ static void call_cb(void *closure, struct afb_xreq *xreq) verb = search(desc, xreq->verb); if (!verb) afb_xreq_fail_f(xreq, "unknown-verb", "verb %s unknown within api %s", xreq->verb, desc->binding->api); - else { - xreq->sessionflags = (int)verb->session; - xreq->group = desc; - xreq->callback = verb->callback; - afb_xreq_call(xreq); - } + else + afb_xreq_call(xreq, verb->session, verb->callback); } static int service_start_cb(void *closure, int share_session, int onneed)