snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit c27e1aa5a126d6676232e7e3cb7cff95a3661b35
parent aa15f84b34e51ae8121a8174ea68f105d295699c
Author: grunfink <grunfink@comam.es>
Date:   Sun, 27 Apr 2025 05:26:42 +0200

Fixed typo.

Diffstat:
Mactivitypub.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/activitypub.c b/activitypub.c @@ -1053,10 +1053,10 @@ void notify(snac *snac, const char *type, const char *utype, const char *actor, from, email, subject); xs *mailinfo = xs_dict_new(); - xs *body = xs_fmt("%s%s", header, body); + xs *bd = xs_fmt("%s%s", header, body); mailinfo = xs_dict_append(mailinfo, "from", from); mailinfo = xs_dict_append(mailinfo, "to", email); - mailinfo = xs_dict_append(mailinfo, "body", body); + mailinfo = xs_dict_append(mailinfo, "body", bd); enqueue_email(mailinfo, 0); }