s3-lib Replace StrCaseCmp() with strcasecmp_m()
[obnox/samba/samba-obnox.git] / source3 / modules / vfs_streams_depot.c
index 01851cd2f83340efde22a22c84289752a6207091..f1c687e9528b41613a77e2e4b47814628a0c37e2 100644 (file)
@@ -324,7 +324,7 @@ static NTSTATUS stream_smb_fname(vfs_handle_struct *handle,
        stype = strchr_m(smb_fname->stream_name + 1, ':');
 
        if (stype) {
-               if (StrCaseCmp(stype, ":$DATA") != 0) {
+               if (strcasecmp_m(stype, ":$DATA") != 0) {
                        return NT_STATUS_INVALID_PARAMETER;
                }
        }