]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:lib: use strequal_m() in is_ntfs_default_stream_smb_fname()
authorRalph Boehme <slow@samba.org>
Wed, 25 Sep 2019 18:29:04 +0000 (11:29 -0700)
committerRalph Boehme <slow@samba.org>
Wed, 2 Oct 2019 08:01:39 +0000 (08:01 +0000)
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>
source3/lib/filename_util.c

index ee49ae5ff8ca8db696223d9f77ff9a9518c8377d..2917481c8bfa91e6dd25f257ee728f678f99704a 100644 (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");
 }
 
 /****************************************************************************