1
0
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:
Volker Lendecke 2023-05-27 11:28:14 +02:00 committed by Jeremy Allison
parent 4ee821ae2b
commit 7e465b8e22

View File

@ -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;
}