commit f1d1d5f99a6054b3730dc4db7f31c8c5b8a1b050 parent f045600c5b30370525945e0ca6f4f23c6843af92 Author: default <nobody@localhost> Date: Sun, 2 Oct 2022 07:23:27 +0200 Fixed crash. Diffstat:
M | data.c | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/data.c b/data.c @@ -825,7 +825,8 @@ int actor_get(snac *snac, char *actor, d_char **data) fclose(f); - *data = xs_json_loads(j); + if (data) + *data = xs_json_loads(j); } else status = 500;