diff options
Diffstat (limited to 'src/bftw.c')
-rw-r--r-- | src/bftw.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -621,7 +621,7 @@ static int bftw_ioq_pop(struct bftw_state *state, bool block) { } dir = ent->opendir.dir; - if (ent->ret == 0) { + if (ent->result >= 0) { bftw_file_set_dir(cache, file, dir); } else { bftw_freedir(cache, dir); |