aboutsummaryrefslogtreecommitdiff
path: root/src/librc-misc.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-10-04 17:02:44 +0000
committerRoy Marples <roy@marples.name>2007-10-04 17:02:44 +0000
commitaf5525f6342c6ceda5913d2f6675d72ea8501ef3 (patch)
tree58f6e010f71232e1892706a12a84b778aa225384 /src/librc-misc.c
parent15fde9a796a45999b2fdebebbe8862f33cf4965b (diff)
LS_DIRS -> LS_DIR
Diffstat (limited to 'src/librc-misc.c')
-rw-r--r--src/librc-misc.c2
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))