mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-15 01:55:03 +00:00
Fixed crash in _object_fn_by_md5().
This commit is contained in:
parent
5278232616
commit
42803e2116
1 changed files with 1 additions and 1 deletions
2
data.c
2
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 */
|
||||
|
|
Loading…
Reference in a new issue