summaryrefslogtreecommitdiffstats
path: root/source3/smbd/reply.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/reply.c
parentb2db4c51625077569ccc0fdf39471a67c3646066 (diff)
downloadsamba-e23d8a3d1f558a7e98ef2afd71e1d15c5b3a71bc.tar.gz
samba-e23d8a3d1f558a7e98ef2afd71e1d15c5b3a71bc.tar.xz
samba-e23d8a3d1f558a7e98ef2afd71e1d15c5b3a71bc.zip
s3: Make the implicit reference to Protocol in mask_match() explicit
Diffstat (limited to 'source3/smbd/reply.c')
-rw-r--r--source3/smbd/reply.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 682f56ff33..a113a9d982 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -2638,7 +2638,7 @@ NTSTATUS unlink_internals(connection_struct *conn, struct smb_request *req,
continue;
}
- if(!mask_match(dname, fname_mask,
+ if(!mask_match(dname, fname_mask, get_Protocol(),
conn->case_sensitive)) {
TALLOC_FREE(frame);
TALLOC_FREE(talloced);
@@ -6337,7 +6337,8 @@ NTSTATUS rename_internals(TALLOC_CTX *ctx,
continue;
}
- if(!mask_match(dname, fname_src_mask, conn->case_sensitive)) {
+ if(!mask_match(dname, fname_src_mask, get_Protocol(),
+ conn->case_sensitive)) {
TALLOC_FREE(talloced);
continue;
}
@@ -6968,7 +6969,7 @@ void reply_copy(struct smb_request *req)
continue;
}
- if(!mask_match(dname, fname_src_mask,
+ if(!mask_match(dname, fname_src_mask, get_Protocol(),
conn->case_sensitive)) {
TALLOC_FREE(talloced);
continue;