summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-12-23 12:20:54 +0100
committerdefault <nobody@localhost>2022-12-23 12:20:54 +0100
commitf83ff46b6b1e12163a6921b980a56db7a5a48d50 (patch)
tree23a45a6d85f551c8b37a0b4408047dcdbda772f6
parent890e448148ec05b085b67c6ffb5b7c62999756e9 (diff)
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
to = xs_list_append(to, a);
/* add this author to the tag list as a mention */
- xs *t_href;
- xs *t_name;
+ xs *t_href = NULL;
+ xs *t_name = NULL;
if (!xs_is_null(a) && valid_status(webfinger_request(a, &t_href, &t_name))) {
xs *t = xs_dict_new();