X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-api-so.c;h=1db7642822f1452dbb8b466295b07b5c88b0c6dc;hb=bbddc1e584dd01b60042f622f8cecfc69361020b;hp=860b097cc41442a9d330dc98f7368bd03475cf0b;hpb=1ea6bd0f466a10d29f12801aa35fb6d2b30443a1;p=src%2Fapp-framework-binder.git diff --git a/src/afb-api-so.c b/src/afb-api-so.c index 860b097c..1db76428 100644 --- a/src/afb-api-so.c +++ b/src/afb-api-so.c @@ -141,7 +141,7 @@ static void call_check(struct afb_req req, struct afb_context *context, const st afb_context_close(context); afb_req_fail(req, "failed", "invalid token's identity"); return; - } + } } if ((stag & AFB_SESSION_CREATE) != 0) { @@ -152,7 +152,7 @@ static void call_check(struct afb_req req, struct afb_context *context, const st afb_context_change_loa(context, 1); afb_context_refresh(context); } - + if ((stag & (AFB_SESSION_CREATE | AFB_SESSION_RENEW)) != 0) afb_context_refresh(context);