diff options
Diffstat (limited to 'mastoapi.c')
| -rw-r--r-- | mastoapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -649,7 +649,7 @@ xs_dict *mastoapi_account(const xs_dict *actor) | |||
| 649 | 649 | ||
| 650 | char *url = xs_dict_get(metadata, name); | 650 | char *url = xs_dict_get(metadata, name); |
| 651 | 651 | ||
| 652 | if (xs_startswith(url, "https:/" "/")) { | 652 | if (!xs_is_null(url) && xs_startswith(url, "https:/" "/")) { |
| 653 | xs_number *verified_time = xs_dict_get(val_links, url); | 653 | xs_number *verified_time = xs_dict_get(val_links, url); |
| 654 | if (xs_type(verified_time) == XSTYPE_NUMBER) { | 654 | if (xs_type(verified_time) == XSTYPE_NUMBER) { |
| 655 | time_t t = xs_number_get(verified_time); | 655 | time_t t = xs_number_get(verified_time); |