snac2

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

commit bf08fba799d1ee693bf6db09be1a0b1e10f5496c
parent 78b468f013cc2624a4b9044393eb2c86556c98b7
Author: default <nobody@localhost>
Date:   Tue,  4 Jul 2023 14:34:32 +0200

Call index_del() from _object_user_cache().

Diffstat:
Mdata.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/data.c b/data.c @@ -862,6 +862,7 @@ int _object_user_cache(snac *snac, const char *id, const char *cachedir, int del if (del) { ret = unlink(cfn); + index_del(idx, id); } else { if ((ret = link(ofn, cfn)) != -1)