summaryrefslogtreecommitdiff
path: root/source3/smbd/dir.c
diff options
context:
space:
mode:
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 55d5bf132c..bd4e2a44f9 100644
--- a/source3/smbd/dir.c
+++ b/source3/smbd/dir.c
@@ -604,7 +604,7 @@ BOOL get_dir_entry(connection_struct *conn,char *mask,int dirtype,char *fname,
if ((filename_is_mask = (strcmp(filename,mask) == 0)) ||
(name_map_mangle(filename,True,False,SNUM(conn)) &&
- mask_match(filename,mask,False,False)))
+ mask_match(filename,mask,False)))
{
if (isrootdir && (strequal(filename,"..") || strequal(filename,".")))
continue;