X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-auth.c;h=6747c9eea51f6b3627c5349d7b66641f8454cd87;hb=e80c1a7ae27456d546e202b1c498e9337d42ce14;hp=90c8ddce5113e5c0d31cafc7c37d5c0dea218173;hpb=b4da3b7f3db2211e7ecca74301e26b3089fda5a2;p=src%2Fapp-framework-binder.git diff --git a/src/afb-auth.c b/src/afb-auth.c index 90c8ddce..6747c9ee 100644 --- a/src/afb-auth.c +++ b/src/afb-auth.c @@ -62,7 +62,7 @@ int afb_auth_check(struct afb_xreq *xreq, const struct afb_auth *auth) int afb_auth_has_permission(struct afb_xreq *xreq, const char *permission) { - return afb_cred_has_permission(xreq->cred, permission, afb_context_uuid(&xreq->context)); + return afb_cred_has_permission(xreq->cred, permission, &xreq->context); } /*********************************************************************************/