summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-23 16:34:00 +0100
committerVolker Lendecke <vl@samba.org>2009-11-23 16:35:00 +0100
commitd6e55d8ec0335cd2494ca54f1471fad4e2b69795 (patch)
treee7a6bcd716e8b5a16c4e496b5f4fd5fff1fd596d /source3/lib
parent5c4885a26bbdc1a5086417b63395debd2670db85 (diff)
downloadsamba-d6e55d8ec0335cd2494ca54f1471fad4e2b69795.tar.gz
samba-d6e55d8ec0335cd2494ca54f1471fad4e2b69795.tar.bz2
samba-d6e55d8ec0335cd2494ca54f1471fad4e2b69795.zip
Revert "s3: Make the implicit reference to Protocol in mask_match_list() explicit"
This reverts commit 1e22899d268ae5a089f941a204413c07ee64fc78.
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 1ee1bdc35f..e3ceea4951 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,
- enum protocol_types proto, bool is_case_sensitive)
+bool mask_match_list(const char *string, char **list, int listLen, bool is_case_sensitive)
{
while (listLen-- > 0) {
- if (mask_match(string, *list++, proto, is_case_sensitive))
+ if (mask_match(string, *list++, get_Protocol(),
+ is_case_sensitive))
return True;
}
return False;