diff options
| author | 2024-05-23 10:01:37 +0200 | |
|---|---|---|
| committer | 2024-05-23 10:01:37 +0200 | |
| commit | 8cf7559a7e21c5757455b948814d61e6e96f08f1 (patch) | |
| tree | c9a9d6d637977f97ebfc83ba36ae794fe5f9d8c1 /webfinger.c | |
| parent | Also return an application/ld+json object in webfinger. (diff) | |
| download | penes-snac2-8cf7559a7e21c5757455b948814d61e6e96f08f1.tar.gz penes-snac2-8cf7559a7e21c5757455b948814d61e6e96f08f1.tar.xz penes-snac2-8cf7559a7e21c5757455b948814d61e6e96f08f1.zip | |
Added more const.
Diffstat (limited to 'webfinger.c')
| -rw-r--r-- | webfinger.c | 2 |
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) { |