diff options
-rw-r--r-- | libmisc/walk_tree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmisc/walk_tree.c b/libmisc/walk_tree.c index d753dc7..0a6af1e 100644 --- a/libmisc/walk_tree.c +++ b/libmisc/walk_tree.c @@ -102,8 +102,8 @@ static int walk_tree_rec(const char *path, int walk_flags, * a link and follow_symlinks */ if ((flags & WALK_TREE_RECURSIVE) && - (!(flags & WALK_TREE_SYMLINK) && S_ISDIR(st.st_mode)) || - ((flags & WALK_TREE_SYMLINK) && follow_symlinks)) { + ((!(flags & WALK_TREE_SYMLINK) && S_ISDIR(st.st_mode)) || + ((flags & WALK_TREE_SYMLINK) && follow_symlinks))) { struct dirent *entry; /* |