snac2

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

commit 42803e21169018b4b1d5fcd7ae0617b8f3f65053
parent 52782326160f6d8ecbae26de665502d3fecd7753
Author: default <nobody@localhost>
Date:   Sun, 18 Jun 2023 20:38:35 +0200

Fixed crash in _object_fn_by_md5().

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

diff --git a/data.c b/data.c @@ -546,7 +546,7 @@ xs_list *index_list_desc(const char *fn, int skip, int show) static xs_str *_object_fn_by_md5(const char *md5, const char *func) { xs *bfn = xs_fmt("%s/object/%c%c", srv_basedir, md5[0], md5[1]); - xs *ret = NULL; + xs_str *ret; int ok = 1; /* an object deleted from an index; fail but don't bark */