diff options
author | Paride Legovini <pl@ninthfloor.org> | 2016-09-28 18:59:15 +0200 |
---|---|---|
committer | Bert Münnich <ber.t@posteo.de> | 2016-09-28 19:27:48 +0200 |
commit | 86dc6860f9def64ad554a7c69eeae28203661e2c (patch) | |
tree | fc80e651e96c22990c941091985cd1e992403a1a /thumbs.c | |
parent | d69f39e3aad6a7c5fb110dabb068a7bbb2229750 (diff) | |
download | nsxiv-86dc6860f9def64ad554a7c69eeae28203661e2c.tar.zst |
Allow opening directories non-recursively
Diffstat (limited to 'thumbs.c')
-rw-r--r-- | thumbs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |