mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
parent
09b4a9513c
commit
0e723d8f7d
@ -1095,15 +1095,13 @@ static bool exact_match(connection_struct *conn,
|
||||
{
|
||||
if (mask[0] == '.' && mask[1] == 0)
|
||||
return False;
|
||||
if (conn->case_sensitive)
|
||||
return strcmp(str,mask)==0;
|
||||
if (StrCaseCmp(str,mask) != 0) {
|
||||
return False;
|
||||
}
|
||||
if (dptr_has_wild(conn->dirptr)) {
|
||||
return False;
|
||||
}
|
||||
return True;
|
||||
if (conn->case_sensitive)
|
||||
return strcmp(str,mask)==0;
|
||||
else
|
||||
return StrCaseCmp(str,mask) == 0;
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
Loading…
x
Reference in New Issue
Block a user