1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-08 04:58:40 +03:00

Oops. Reversed mangled map change made in error. Testing

found this one. Jeremy (jallison@whistle.com)
(This used to be commit adf98469fc3f0969676bd454cfd143f8ef03ce48)
This commit is contained in:
Jeremy Allison 1997-08-28 22:54:41 +00:00
parent 473c42a194
commit d95652780a

View File

@ -329,8 +329,7 @@ static int get_lanman2_dir_entry(int cnum,char *path_mask,int dirtype,int info_l
strcpy(fname,dname);
if(name_map_mangle(fname,False,SNUM(cnum)) &&
mask_match(fname, mask, case_sensitive, True))
if(mask_match(fname, mask, case_sensitive, True))
{
BOOL isdots = (strequal(fname,"..") || strequal(fname,"."));
if (dont_descend && !isdots)
@ -369,6 +368,8 @@ static int get_lanman2_dir_entry(int cnum,char *path_mask,int dirtype,int info_l
}
}
name_map_mangle(fname,False,SNUM(cnum));
p = pdata;
nameptr = p;