summaryrefslogtreecommitdiffstats
path: root/source/lib/util.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-10-05 03:26:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:54 -0500
commit4ce0505bc369243aa77013519ce4e4f6e50f5a48 (patch)
tree4404163ccef4d2b53136c7e0849876baf09d6aea /source/lib/util.c
parentfa3e8365641e84ca361dc95bac33a9d56e9d799b (diff)
downloadsamba-4ce0505bc369243aa77013519ce4e4f6e50f5a48.tar.gz
samba-4ce0505bc369243aa77013519ce4e4f6e50f5a48.tar.xz
samba-4ce0505bc369243aa77013519ce4e4f6e50f5a48.zip
r2824: restored the is_case_sensitive option to ms_fnmatch() in Samba3. It is
very rarely used, but we sohuldn't be removing a feature in a minor release of this kind.
Diffstat (limited to 'source/lib/util.c')
-rw-r--r--source/lib/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/util.c b/source/lib/util.c
index 53ce8ab17be..5e88bd896ff 100644
--- a/source/lib/util.c
+++ b/source/lib/util.c
@@ -2325,7 +2325,7 @@ BOOL mask_match(const char *string, char *pattern, BOOL is_case_sensitive)
if (strcmp(pattern,".") == 0)
return False;
- return ms_fnmatch(pattern, string, Protocol) == 0;
+ return ms_fnmatch(pattern, string, Protocol, is_case_sensitive) == 0;
}
/*******************************************************************