snac2

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

commit c66cd2edb52bedcbc8be6a89ee64f146778f5c32
parent a6d664aa5c9ed2c6978f562f87b028587aa5bc28
Author: default <nobody@localhost>
Date:   Thu, 13 Apr 2023 18:34:14 +0200

Fixed crash in notify_get().

Diffstat:
Mdata.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data.c b/data.c @@ -1542,7 +1542,7 @@ void notify_add(snac *snac, const char *type, const char *utype, xs_dict *notify_get(snac *snac, const char *id) /* gets a notification */ { - xs *fn = xs_fmt("%s/notify/%s.json", snac->basedir); + xs *fn = xs_fmt("%s/notify/%s.json", snac->basedir, id); FILE *f; xs_dict *out = NULL;