summaryrefslogtreecommitdiff
path: root/source3/smbd/trans2.c
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:16 +0100
commite23d8a3d1f558a7e98ef2afd71e1d15c5b3a71bc (patch)
treea6e586add1d5f07016999d0138042db1cbd751b2 /source3/smbd/trans2.c
parentb2db4c51625077569ccc0fdf39471a67c3646066 (diff)
downloadsamba-e23d8a3d1f558a7e98ef2afd71e1d15c5b3a71bc.tar.gz
samba-e23d8a3d1f558a7e98ef2afd71e1d15c5b3a71bc.tar.bz2
samba-e23d8a3d1f558a7e98ef2afd71e1d15c5b3a71bc.zip
s3: Make the implicit reference to Protocol in mask_match() explicit
Diffstat (limited to 'source3/smbd/trans2.c')
-rw-r--r--source3/smbd/trans2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 17ebd81313..8226b6c428 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -1368,7 +1368,7 @@ static bool smbd_dirptr_lanman2_match_fn(TALLOC_CTX *ctx,
fname, mask);
state->got_exact_match = got_match;
if (!got_match) {
- got_match = mask_match(fname, mask,
+ got_match = mask_match(fname, mask, get_Protocol(),
state->conn->case_sensitive);
}
@@ -1393,6 +1393,7 @@ static bool smbd_dirptr_lanman2_match_fn(TALLOC_CTX *ctx,
state->got_exact_match = got_match;
if (!got_match) {
got_match = mask_match(mangled_name, mask,
+ get_Protocol(),
state->conn->case_sensitive);
}
}