summaryrefslogtreecommitdiff
path: root/webfinger.c
diff options
context:
space:
mode:
authorGravatar default2024-05-23 10:01:37 +0200
committerGravatar default2024-05-23 10:01:37 +0200
commit8cf7559a7e21c5757455b948814d61e6e96f08f1 (patch)
treec9a9d6d637977f97ebfc83ba36ae794fe5f9d8c1 /webfinger.c
parentAlso return an application/ld+json object in webfinger. (diff)
downloadpenes-snac2-8cf7559a7e21c5757455b948814d61e6e96f08f1.tar.gz
penes-snac2-8cf7559a7e21c5757455b948814d61e6e96f08f1.tar.xz
penes-snac2-8cf7559a7e21c5757455b948814d61e6e96f08f1.zip
Added more const.
Diffstat (limited to '')
-rw-r--r--webfinger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/webfinger.c b/webfinger.c
index b1d85e9..c79fd44 100644
--- a/webfinger.c
+++ b/webfinger.c
@@ -96,7 +96,7 @@ int webfinger_request_signed(snac *snac, const char *qs, char **actor, char **us
96 if (actor != NULL) { 96 if (actor != NULL) {
97 const xs_list *list = xs_dict_get(obj, "links"); 97 const xs_list *list = xs_dict_get(obj, "links");
98 int c = 0; 98 int c = 0;
99 char *v; 99 const char *v;
100 100
101 while (xs_list_next(list, &v, &c)) { 101 while (xs_list_next(list, &v, &c)) {
102 if (xs_type(v) == XSTYPE_DICT) { 102 if (xs_type(v) == XSTYPE_DICT) {