mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-29 07:53:37 +00:00
Fixed crash on some webfinger errors.
This commit is contained in:
parent
890e448148
commit
f83ff46b6b
1 changed files with 2 additions and 2 deletions
|
@ -620,8 +620,8 @@ d_char *msg_note(snac *snac, char *content, char *rcpts, char *in_reply_to, char
|
||||||
to = xs_list_append(to, a);
|
to = xs_list_append(to, a);
|
||||||
|
|
||||||
/* add this author to the tag list as a mention */
|
/* add this author to the tag list as a mention */
|
||||||
xs *t_href;
|
xs *t_href = NULL;
|
||||||
xs *t_name;
|
xs *t_name = NULL;
|
||||||
|
|
||||||
if (!xs_is_null(a) && valid_status(webfinger_request(a, &t_href, &t_name))) {
|
if (!xs_is_null(a) && valid_status(webfinger_request(a, &t_href, &t_name))) {
|
||||||
xs *t = xs_dict_new();
|
xs *t = xs_dict_new();
|
||||||
|
|
Loading…
Reference in a new issue