X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fapp-framework-binder.git;a=blobdiff_plain;f=src%2Fmain-afb-daemon.c;fp=src%2Fmain-afb-daemon.c;h=165d140087842a43d828244fb8a2284066b93323;hp=3421be819c5fbd3f789c3a7d0a5e0e82be3e3ef8;hb=29ae81fa15c6080fd27929f4cc78e1289cb920e9;hpb=1b240e6b92eb3762594312cc603180ae5ce77f72 diff --git a/src/main-afb-daemon.c b/src/main-afb-daemon.c index 3421be81..165d1400 100644 --- a/src/main-afb-daemon.c +++ b/src/main-afb-daemon.c @@ -659,8 +659,7 @@ static void startup_call_current(struct startup_req *sreq) json = strchr(verb, ':'); if (json) { afb_xreq_init(&sreq->xreq, &startup_xreq_itf); - afb_context_init(&sreq->xreq.context, sreq->session, NULL); - sreq->xreq.context.validated = 1; + afb_context_init_validated(&sreq->xreq.context, sreq->session); sreq->api = strndup(api, verb - api); sreq->verb = strndup(verb + 1, json - verb - 1); sreq->xreq.request.called_api = sreq->api;