From f969be54417a0d4d2bab0f854ce1c9f9d4639711 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 25 Oct 2016 11:53:53 +0200 Subject: lib: Add "is_case_sensitive" to ms_fnmatch_protocol Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme --- source4/torture/masktest.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source4/torture/masktest.c') diff --git a/source4/torture/masktest.c b/source4/torture/masktest.c index b96c6dabbe5..e6e7f4e4245 100644 --- a/source4/torture/masktest.c +++ b/source4/torture/masktest.c @@ -49,7 +49,8 @@ static bool reg_match_one(struct smbcli_state *cli, const char *pattern, const c if (ISDOTDOT(file)) file = "."; - return ms_fnmatch_protocol(pattern, file, cli->transport->negotiate.protocol)==0; + return ms_fnmatch_protocol( + pattern, file, cli->transport->negotiate.protocol, true)==0; } static char *reg_test(struct smbcli_state *cli, TALLOC_CTX *mem_ctx, const char *pattern, const char *long_name, const char *short_name) -- cgit v1.2.1