summaryrefslogtreecommitdiffstats
path: root/source3/smbd/dir.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-04-25 23:15:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:41 -0500
commite0c105ece672502aae19f0e17fde3021207dd47a (patch)
tree4b8bec190f6d2f6093d720326b5fcf6e85098998 /source3/smbd/dir.c
parent2d6e5ad90fe358e0d1b94798819713316723125f (diff)
downloadsamba-e0c105ece672502aae19f0e17fde3021207dd47a.tar.gz
samba-e0c105ece672502aae19f0e17fde3021207dd47a.tar.xz
samba-e0c105ece672502aae19f0e17fde3021207dd47a.zip
r6473: Fix for bug #2644 - test for special files to be ignored was reversed.
Jeremy. (This used to be commit 7c173dec2efcbe3fe42ffb9a2e85f3fbc8710ec4)
Diffstat (limited to 'source3/smbd/dir.c')
-rw-r--r--source3/smbd/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/dir.c b/source3/smbd/dir.c
index 054588b25e6..5ebbfe478fc 100644
--- a/source3/smbd/dir.c
+++ b/source3/smbd/dir.c
@@ -946,7 +946,7 @@ BOOL is_visible_file(connection_struct *conn, const char *dir_path, const char *
return False;
}
/* Honour _hide_special_ option */
- if (hide_special && !file_is_special(conn, entry, pst)) {
+ if (hide_special && file_is_special(conn, entry, pst)) {
SAFE_FREE(entry);
return False;
}