From 192f3079a496d5ac64a3465d5b207d40aa4b30db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Mon, 19 Sep 2022 20:39:46 +0800 Subject: Rename for consistency & conventions --- accesstoken.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'accesstoken.h') diff --git a/accesstoken.h b/accesstoken.h index 009cdb0..31d0d29 100644 --- a/accesstoken.h +++ b/accesstoken.h @@ -18,8 +18,8 @@ static inline void accesstoken_parse(const char *tok, "scope")) { const char *val = json_object_get_string( json_object_iter_peek_value(&iter)); - session->scope = malloc(strlen(val) + 1); - strcpy(session->scope, val); + session->scopes = malloc(strlen(val) + 1); + strcpy(session->scopes, val); } json_object_iter_next(&iter); } -- cgit v1.2.3