diff options
Diffstat (limited to 'source4/lib/ms_fnmatch.c')
-rw-r--r-- | source4/lib/ms_fnmatch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ms_fnmatch.c b/source4/lib/ms_fnmatch.c index c405d2ff30..699341bede 100644 --- a/source4/lib/ms_fnmatch.c +++ b/source4/lib/ms_fnmatch.c @@ -163,7 +163,7 @@ int ms_fnmatch(const char *pattern, const char *string, enum protocol_types prot if (strpbrk(pattern, "<>*?\"") == NULL) { /* this is not just an optmisation - it is essential for LANMAN1 correctness */ - return StrCaseCmp(pattern, string); + return strcasecmp_m(pattern, string); } if (protocol <= PROTOCOL_LANMAN2) { |