commit f83ff46

default  ·  2022-12-23 11:20:54 +0000 UTC
parent 890e448
Fixed crash on some webfinger errors.
1 files changed,  +2, -2
+2, -2
 1@@ -620,8 +620,8 @@ d_char *msg_note(snac *snac, char *content, char *rcpts, char *in_reply_to, char
 2                 to = xs_list_append(to, a);
 3 
 4             /* add this author to the tag list as a mention */
 5-            xs *t_href;
 6-            xs *t_name;
 7+            xs *t_href = NULL;
 8+            xs *t_name = NULL;
 9 
10             if (!xs_is_null(a) && valid_status(webfinger_request(a, &t_href, &t_name))) {
11                 xs *t = xs_dict_new();