summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authorGravatar shtrophic2025-02-19 08:56:14 +0100
committerGravatar shtrophic2025-02-19 08:56:14 +0100
commit2ca7735779e79dbe6fe62f0111a12c145f428d8f (patch)
tree16c523a9e7f29576435368165f92c1f34e3c2ab8 /activitypub.c
parentMerge remote-tracking branch 'upstream/master' into curl-smtp (diff)
downloadpenes-snac2-2ca7735779e79dbe6fe62f0111a12c145f428d8f.tar.gz
penes-snac2-2ca7735779e79dbe6fe62f0111a12c145f428d8f.tar.xz
penes-snac2-2ca7735779e79dbe6fe62f0111a12c145f428d8f.zip
fix ownership-problem of mailinfo
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c
index e2519e6..a91821d 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -1025,7 +1025,7 @@ void notify(snac *snac, const char *type, const char *utype, const char *actor,
1025 "\n", 1025 "\n",
1026 from, email, subject); 1026 from, email, subject);
1027 1027
1028 xs *mailinfo = xs_dict_new(); 1028 xs_dict *mailinfo = xs_dict_new();
1029 xs_dict_append(mailinfo, "from", from); 1029 xs_dict_append(mailinfo, "from", from);
1030 xs_dict_append(mailinfo, "to", email); 1030 xs_dict_append(mailinfo, "to", email);
1031 xs_dict_append(mailinfo, "body", xs_fmt("%s%s", header, body)); 1031 xs_dict_append(mailinfo, "body", xs_fmt("%s%s", header, body));