diff options
author | default <nobody@localhost> | 2023-04-13 18:34:14 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2023-04-13 18:34:14 +0200 |
commit | c66cd2edb52bedcbc8be6a89ee64f146778f5c32 (patch) | |
tree | 9d8d8fd2b624fe893599809638057e318e5c2790 | |
parent | a6d664aa5c9ed2c6978f562f87b028587aa5bc28 (diff) |
Fixed crash in notify_get().
-rw-r--r-- | data.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |