From e6c9218319b82b875ffb0c15dd88f8f6e77c50e2 Mon Sep 17 00:00:00 2001 From: Kacper Gutowski Date: Thu, 5 Jul 2018 03:39:27 +0200 Subject: Don't skip dot files when cleaning cache --- thumbs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'thumbs.c') diff --git a/thumbs.c b/thumbs.c index 37be29f..b9320e7 100644 --- a/thumbs.c +++ b/thumbs.c @@ -131,7 +131,7 @@ void tns_clean_cache(tns_t *tns) dirlen = strlen(cache_dir); - while ((cfile = r_readdir(&dir)) != NULL) { + while ((cfile = r_readdir(&dir, false)) != NULL) { filename = cfile + dirlen; delete = false; -- cgit v1.2.3