diff options
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 e9f0893..6476bba 100644 --- a/webfinger.c +++ b/webfinger.c | |||
| @@ -82,7 +82,7 @@ int webfinger_request(char *qs, char **actor, char **user) | |||
| 82 | char *v; | 82 | char *v; |
| 83 | 83 | ||
| 84 | while (xs_list_iter(&list, &v)) { | 84 | while (xs_list_iter(&list, &v)) { |
| 85 | if (xs_type(v) == XSTYPE_SOD) { | 85 | if (xs_type(v) == XSTYPE_DICT) { |
| 86 | char *type = xs_dict_get(v, "type"); | 86 | char *type = xs_dict_get(v, "type"); |
| 87 | 87 | ||
| 88 | if (type && strcmp(type, "application/activity+json") == 0) { | 88 | if (type && strcmp(type, "application/activity+json") == 0) { |