summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar default2022-12-23 12:20:54 +0100
committerGravatar default2022-12-23 12:20:54 +0100
commitf83ff46b6b1e12163a6921b980a56db7a5a48d50 (patch)
tree23a45a6d85f551c8b37a0b4408047dcdbda772f6
parentUpdated RELEASE_NOTES. (diff)
downloadpenes-snac2-f83ff46b6b1e12163a6921b980a56db7a5a48d50.tar.gz
penes-snac2-f83ff46b6b1e12163a6921b980a56db7a5a48d50.tar.xz
penes-snac2-f83ff46b6b1e12163a6921b980a56db7a5a48d50.zip
Fixed crash on some webfinger errors.
-rw-r--r--activitypub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/activitypub.c b/activitypub.c
index dcefa87..17b038f 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -620,8 +620,8 @@ d_char *msg_note(snac *snac, char *content, char *rcpts, char *in_reply_to, char
620 to = xs_list_append(to, a); 620 to = xs_list_append(to, a);
621 621
622 /* add this author to the tag list as a mention */ 622 /* add this author to the tag list as a mention */
623 xs *t_href; 623 xs *t_href = NULL;
624 xs *t_name; 624 xs *t_name = NULL;
625 625
626 if (!xs_is_null(a) && valid_status(webfinger_request(a, &t_href, &t_name))) { 626 if (!xs_is_null(a) && valid_status(webfinger_request(a, &t_href, &t_name))) {
627 xs *t = xs_dict_new(); 627 xs *t = xs_dict_new();