1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s3:lib: use strequal_m() in is_ntfs_default_stream_smb_fname()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14137

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Ralph Boehme 2019-09-25 11:29:04 -07:00
parent 3f8bc1ce3e
commit 780a8dcba9

View File

@ -278,7 +278,7 @@ bool is_ntfs_default_stream_smb_fname(const struct smb_filename *smb_fname)
return false;
}
return strcasecmp_m(smb_fname->stream_name, "::$DATA") == 0;
return strequal_m(smb_fname->stream_name, "::$DATA");
}
/****************************************************************************