From 86dc6860f9def64ad554a7c69eeae28203661e2c Mon Sep 17 00:00:00 2001 From: Paride Legovini Date: Wed, 28 Sep 2016 18:59:15 +0200 Subject: Allow opening directories non-recursively --- thumbs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'thumbs.c') diff --git a/thumbs.c b/thumbs.c index f51f85f..3988bd2 100644 --- a/thumbs.c +++ b/thumbs.c @@ -123,7 +123,7 @@ void tns_clean_cache(tns_t *tns) char *cfile, *filename, *tpos; r_dir_t dir; - if (r_opendir(&dir, cache_dir) < 0) { + if (r_opendir(&dir, cache_dir, true) < 0) { error(0, errno, "%s", cache_dir); return; } -- cgit v1.2.3-54-g00ecf