diff options
author | Volker Lendecke <vl@samba.org> | 2017-02-12 20:12:10 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2017-02-15 11:40:32 +0100 |
commit | 129015d1a664e97410fa5fe2aef6bd8c494ffb5b (patch) | |
tree | f25bf9868a5a2383ea5f24362061a95a08f84a9e /source4/torture/masktest.c | |
parent | e08110ece699eeb1b9ef688c92bf84c69a6fa5fc (diff) | |
download | samba-129015d1a664e97410fa5fe2aef6bd8c494ffb5b.tar.gz |
lib: Fix "is_case_sensitive" in "ms_fnmatch_protocol"' callers
In the optimization in f969be54417 I got the boolean flag "is_case_sensitive"
wrong. The behaviour was case *insensitive*, so all the flags should have been
"false", keeping the old behaviour. While there, simplify "mask_match" in
source4 client.c
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Wed Feb 15 11:40:32 CET 2017 on sn-devel-144
Diffstat (limited to 'source4/torture/masktest.c')
-rw-r--r-- | source4/torture/masktest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/masktest.c b/source4/torture/masktest.c index e6e7f4e4245..2097de4e5fe 100644 --- a/source4/torture/masktest.c +++ b/source4/torture/masktest.c @@ -50,7 +50,7 @@ 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, true)==0; + pattern, file, cli->transport->negotiate.protocol, false)==0; } static char *reg_test(struct smbcli_state *cli, TALLOC_CTX *mem_ctx, const char *pattern, const char *long_name, const char *short_name) |