mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
smbd: Use ISDOT() in exact_match()
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
4ee821ae2b
commit
7e465b8e22
@ -844,7 +844,7 @@ static bool exact_match(bool has_wild,
|
||||
const char *str,
|
||||
const char *mask)
|
||||
{
|
||||
if (mask[0] == '.' && mask[1] == 0) {
|
||||
if (ISDOT(mask)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user