Fixed crash.

This commit is contained in:
default 2022-10-02 07:23:27 +02:00
parent f045600c5b
commit f1d1d5f99a

3
data.c
View file

@ -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;