diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2022-09-19 20:39:46 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2022-09-19 20:39:46 +0800 |
commit | 192f3079a496d5ac64a3465d5b207d40aa4b30db (patch) | |
tree | 85d6415a58af2cda391159a47c7e596580fff388 /accesstoken.h | |
parent | 6f71dc4695754b27bcfcb5b1e8da1fc1b4b04c3b (diff) |
Rename for consistency & conventions
Diffstat (limited to 'accesstoken.h')
-rw-r--r-- | accesstoken.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |