summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-21 19:04:34 +0100
committerVolker Lendecke <vl@samba.org>2009-11-21 20:49:17 +0100
commit1e22899d268ae5a089f941a204413c07ee64fc78 (patch)
tree852ba86533a077871c3f9cfa63f811c6a43fad7b /source3/lib
parente23d8a3d1f558a7e98ef2afd71e1d15c5b3a71bc (diff)
downloadsamba-1e22899d268ae5a089f941a204413c07ee64fc78.tar.gz
samba-1e22899d268ae5a089f941a204413c07ee64fc78.tar.bz2
samba-1e22899d268ae5a089f941a204413c07ee64fc78.zip
s3: Make the implicit reference to Protocol in mask_match_list() explicit
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util.c6
1 files changed, 3 insertions, 3 deletions
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;