diff options
author | Jeremy Allison <jra@samba.org> | 2005-05-06 10:55:56 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:56:48 -0500 |
commit | 5622d96cd674bd63ec86db971531f2088e32842f (patch) | |
tree | c7b079f1c1b7cc5704da022cda01bba99b30c483 /source3/smbd | |
parent | af2437b269a175672dd093527e20cc7f719b1e16 (diff) | |
download | samba-5622d96cd674bd63ec86db971531f2088e32842f.tar.gz samba-5622d96cd674bd63ec86db971531f2088e32842f.tar.bz2 samba-5622d96cd674bd63ec86db971531f2088e32842f.zip |
r6631: More typo's. Sorry.
Jeremy.
(This used to be commit 2673ccd19f194d1f7756a154afe4200e386ca1b3)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/filename.c | 4 | ||||
-rw-r--r-- | source3/smbd/trans2.c | 2 |
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)); } /* |