From d86f6ee27f63b120fce952e0905a8c627861ba81 Mon Sep 17 00:00:00 2001 From: default Date: Sun, 25 Sep 2022 22:57:18 +0200 Subject: Backported from xs. --- webfinger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webfinger.c') diff --git a/webfinger.c b/webfinger.c index e9f0893..6476bba 100644 --- a/webfinger.c +++ b/webfinger.c @@ -82,7 +82,7 @@ int webfinger_request(char *qs, char **actor, char **user) char *v; while (xs_list_iter(&list, &v)) { - if (xs_type(v) == XSTYPE_SOD) { + if (xs_type(v) == XSTYPE_DICT) { char *type = xs_dict_get(v, "type"); if (type && strcmp(type, "application/activity+json") == 0) { -- cgit v1.2.3