summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/filename.c4
-rw-r--r--source3/smbd/trans2.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c
index 5f3cdfb77e..7191e75715 100644
--- a/source3/smbd/filename.c
+++ b/source3/smbd/filename.c
@@ -318,7 +318,7 @@ BOOL unix_convert(pstring name,connection_struct *conn,char *saved_last_componen
*/
if (mangle_is_mangled(start, SNUM(conn))) {
- mangle_check_cache( start, sizeof(pstring) - 1 - (start - name) );
+ mangle_check_cache( start, sizeof(pstring) - 1 - (start - name), SNUM(conn));
}
DEBUG(5,("New file %s\n",start));
@@ -447,7 +447,7 @@ static BOOL scan_directory(connection_struct *conn, const char *path, char *name
* (JRA).
*/
if (mangled)
- mangled = !mangle_check_cache( name, maxlength );
+ mangled = !mangle_check_cache( name, maxlength, SNUM(conn));
/* open the directory */
if (!(cur_dir = OpenDir(conn, path))) {
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 9f29a89f01..d9f3c9e81d 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -2008,7 +2008,7 @@ total_data=%u (should be %u)\n", (unsigned int)total_data, (unsigned int)IVAL(pd
*/
if (mangle_is_mangled(resume_name, SNUM(conn))) {
- mangle_check_cache(resume_name, sizeof(resume_name)-1);
+ mangle_check_cache(resume_name, sizeof(resume_name)-1, SNUM(conn));
}
/*