]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r6473: Fix for bug #2644 - test for special files to be ignored was reversed.
authorJeremy Allison <jra@samba.org>
Mon, 25 Apr 2005 23:15:48 +0000 (23:15 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:56:41 +0000 (10:56 -0500)
Jeremy.

source/smbd/dir.c

index 054588b25e6f6490147996d4a7f8976c045f5b59..5ebbfe478fc475d0400d0d1ea69b75242e13d677 100644 (file)
@@ -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;
                }