summaryrefslogtreecommitdiff
path: root/accesstoken.h
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-09-19 20:39:46 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-09-19 20:39:46 +0800
commit192f3079a496d5ac64a3465d5b207d40aa4b30db (patch)
tree85d6415a58af2cda391159a47c7e596580fff388 /accesstoken.h
parent6f71dc4695754b27bcfcb5b1e8da1fc1b4b04c3b (diff)
Rename for consistency & conventions
Diffstat (limited to 'accesstoken.h')
-rw-r--r--accesstoken.h4
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);
}