From bf08fba799d1ee693bf6db09be1a0b1e10f5496c Mon Sep 17 00:00:00 2001 From: default Date: Tue, 4 Jul 2023 14:34:32 +0200 Subject: [PATCH] Call index_del() from _object_user_cache(). --- data.c | 1 + 1 file changed, 1 insertion(+) diff --git a/data.c b/data.c index 87cfc98..b3fd8b3 100644 --- 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)