X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=plugins%2Fsession%2Ftoken-api.c;h=783e96ed11dc5348a6525180f5580ca2ee9b2c5d;hb=146bb49ca5acf4bbd5d9841398030c29b4333cc6;hp=0109f39106395f2e704eb47dbd146172aa7eeccd;hpb=577bdc0e39332d721c3cdb1f4f194c4335a5dba9;p=src%2Fapp-framework-binder.git diff --git a/plugins/session/token-api.c b/plugins/session/token-api.c index 0109f391..783e96ed 100644 --- a/plugins/session/token-api.c +++ b/plugins/session/token-api.c @@ -49,7 +49,7 @@ static void clientContextLogin (struct afb_req request) afb_req_success(request, jresp, NULL); - setLOA(request, 1); + afb_req_session_set_LOA(request, 1); } // Before entering here token will be check and renew @@ -89,7 +89,7 @@ static void clientContextLogout (struct afb_req request) { // WARNING: if you free context resource manually here do not forget to set *request.context=NULL; afb_req_success(request, jresp, NULL); - setLOA(request, 0); + afb_req_session_set_LOA(request, 0); } // Close and Free context static void clientGetPing (struct afb_req request) {