diff options
-rw-r--r-- | source3/lib/util.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index 36373e9847..e5aa20a972 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -1978,16 +1978,14 @@ BOOL ms_has_wild(char *s) /******************************************************************* a wrapper that handles case sensitivity and the special handling of the ".." name - - case_sensitive is a boolean *******************************************************************/ -BOOL mask_match(char *string, char *pattern, BOOL case_sensitive) +BOOL mask_match(char *string, char *pattern, BOOL is_case_sensitive) { fstring p2, s2; if (strcmp(string,"..") == 0) string = "."; if (strcmp(pattern,".") == 0) return False; - if (case_sensitive) { + if (is_case_sensitive) { return ms_fnmatch(pattern, string) == 0; } |