summaryrefslogtreecommitdiff
path: root/source4/ntvfs/cifs_posix_cli
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-05-04 20:53:33 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-05-06 07:51:24 +0200
commit3892112e7b3143f808932771a7b71f4fd335f8cb (patch)
treefa5254ec26d309e3bda8c8c502363e36feb7f8f9 /source4/ntvfs/cifs_posix_cli
parentcad704e8368f6aba28889966a7382afc8b738928 (diff)
downloadsamba-3892112e7b3143f808932771a7b71f4fd335f8cb.tar.gz
samba-3892112e7b3143f808932771a7b71f4fd335f8cb.tar.bz2
samba-3892112e7b3143f808932771a7b71f4fd335f8cb.zip
lib/util Rename ms_fnmatch() to ms_fnmatch_protocol() to avoid dup symbol
This verison of the function takes a protcol as argument to determine matching rules. Andrew Bartlett
Diffstat (limited to 'source4/ntvfs/cifs_posix_cli')
-rw-r--r--source4/ntvfs/cifs_posix_cli/svfs_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/cifs_posix_cli/svfs_util.c b/source4/ntvfs/cifs_posix_cli/svfs_util.c
index 128440c1ea..f351c5840e 100644
--- a/source4/ntvfs/cifs_posix_cli/svfs_util.c
+++ b/source4/ntvfs/cifs_posix_cli/svfs_util.c
@@ -104,7 +104,7 @@ struct cifspsx_dir *cifspsx_list_unix(TALLOC_CTX *mem_ctx, struct ntvfs_request
if (!low_name) { continue; }
/* check it matches the wildcard pattern */
- if (ms_fnmatch(low_mask, low_name, PROTOCOL_NT1) != 0) {
+ if (ms_fnmatch_protocol(low_mask, low_name, PROTOCOL_NT1) != 0) {
continue;
}