diff options
Diffstat (limited to 'src/afb-auth.c')
-rw-r--r-- | src/afb-auth.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } /*********************************************************************************/ |