diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-08-01 16:59:34 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-08-02 04:54:29 +0200 |
commit | 32a47730da3e92b61b3cba4530962a801b959aca (patch) | |
tree | 3598be64d2d39d2057422d08ff5cda051e07c90e /source3/torture | |
parent | ed6b8deea79e1b3eaef12e8091ea8609e85c4c6c (diff) | |
download | samba-32a47730da3e92b61b3cba4530962a801b959aca.tar.gz samba-32a47730da3e92b61b3cba4530962a801b959aca.tar.bz2 samba-32a47730da3e92b61b3cba4530962a801b959aca.zip |
s3:masktest: make use of cli_state_protocol()
metze
Diffstat (limited to 'source3/torture')
-rw-r--r-- | source3/torture/masktest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/torture/masktest.c b/source3/torture/masktest.c index 26acd0563e..05f9c60806 100644 --- a/source3/torture/masktest.c +++ b/source3/torture/masktest.c @@ -144,7 +144,7 @@ static bool reg_match_one(struct cli_state *cli, const char *pattern, const char if (strcmp(file,"..") == 0) file = "."; - return ms_fnmatch(pattern, file, cli->protocol, False) == 0; + return ms_fnmatch(pattern, file, cli_state_protocol(cli), False) == 0; } static char *reg_test(struct cli_state *cli, const char *pattern, const char *long_name, const char *short_name) |