From 32a47730da3e92b61b3cba4530962a801b959aca Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 1 Aug 2011 16:59:34 +0200 Subject: s3:masktest: make use of cli_state_protocol() metze --- source3/torture/masktest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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) -- cgit