summaryrefslogtreecommitdiff
path: root/apps/tagcache.c
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2006-07-12 06:59:08 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2006-07-12 06:59:08 +0000
commit4e19e6d20a83009dea624a221be5d4e73bbdb431 (patch)
treea2f2091a53838f9f521c4c3e080826dbec2d3197 /apps/tagcache.c
parentf0da404e59bbbc68e4d4392bc6368753d052a1c4 (diff)
Tagcache autoupdate without dircache was not functional at all.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10200 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tagcache.c')
-rw-r--r--apps/tagcache.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c
index d2ef9845bb..4615cfd55b 100644
--- a/apps/tagcache.c
+++ b/apps/tagcache.c
@@ -2381,9 +2381,10 @@ static bool load_tagcache(void)
logf("Entry no longer valid.");
logf("-> %s", buf);
idx->flag |= FLAG_DELETED;
- delete_entry((long)idx - (long)hdr->indices);
+ delete_entry(fe->idx_id);
continue;
}
+ close(testfd);
}
idx->tag_seek[i] = pos;