From d8c0646a5db34a390ceeb853e50c2d098b992c85 Mon Sep 17 00:00:00 2001 From: Luk Claes Date: Sat, 19 May 2012 18:09:30 +0200 Subject: s3:libsmb: get rid of cli_state_protocol Signed-off-by: Luk Claes Signed-off-by: Stefan Metzmacher --- source3/torture/masktest.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/torture') diff --git a/source3/torture/masktest.c b/source3/torture/masktest.c index 29569fada6..6669949635 100644 --- a/source3/torture/masktest.c +++ b/source3/torture/masktest.c @@ -22,6 +22,7 @@ #include "trans2.h" #include "libsmb/libsmb.h" #include "libsmb/nmblib.h" +#include "../libcli/smb/smbXcli_base.h" static fstring password; static fstring username; @@ -144,7 +145,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_state_protocol(cli), False) == 0; + return ms_fnmatch(pattern, file, smbXcli_conn_protocol(cli->conn), False) == 0; } static char *reg_test(struct cli_state *cli, const char *pattern, const char *long_name, const char *short_name) -- cgit