From 1e22899d268ae5a089f941a204413c07ee64fc78 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 21 Nov 2009 19:04:34 +0100 Subject: s3: Make the implicit reference to Protocol in mask_match_list() explicit --- source3/lib/util.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/lib') diff --git a/source3/lib/util.c b/source3/lib/util.c index e3ceea4951..1ee1bdc35f 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -2418,11 +2418,11 @@ bool mask_match_search(const char *string, const char *pattern, bool is_case_sen on each. Returns True if any of the patterns match. *******************************************************************/ -bool mask_match_list(const char *string, char **list, int listLen, bool is_case_sensitive) +bool mask_match_list(const char *string, char **list, int listLen, + enum protocol_types proto, bool is_case_sensitive) { while (listLen-- > 0) { - if (mask_match(string, *list++, get_Protocol(), - is_case_sensitive)) + if (mask_match(string, *list++, proto, is_case_sensitive)) return True; } return False; -- cgit