diff options
Diffstat (limited to 'src/librc-misc.c')
-rw-r--r-- | src/librc-misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librc-misc.c b/src/librc-misc.c index 193b77c0..936fc730 100644 --- a/src/librc-misc.c +++ b/src/librc-misc.c @@ -159,7 +159,7 @@ char **rc_ls_dir (const char *dir, int options) d->d_name[l - 1] == 'h') continue; } - if (options & RC_LS_DIRS) { + if (options & RC_LS_DIR) { struct stat buf; if (stat (d->d_name, &buf) == 0 && ! S_ISDIR (buf.st_mode)) |