summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_catia.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-07-07 20:40:39 +0200
committerVolker Lendecke <vl@samba.org>2009-07-07 20:43:21 +0200
commit5ab0677b45c289d5454c32950276230278379ed0 (patch)
tree84133a7f8659c44a4196ae0e181a30b26333d36c /source3/modules/vfs_catia.c
parenta830a3f9e292931acd90b5cf5cdffc6e83ea00c7 (diff)
downloadsamba-5ab0677b45c289d5454c32950276230278379ed0.tar.gz
samba-5ab0677b45c289d5454c32950276230278379ed0.tar.bz2
samba-5ab0677b45c289d5454c32950276230278379ed0.zip
Attempt to fix the build of vfs_catia.c -- Tim, please check!
Diffstat (limited to 'source3/modules/vfs_catia.c')
-rw-r--r--source3/modules/vfs_catia.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/vfs_catia.c b/source3/modules/vfs_catia.c
index e5779423de..1fd101282c 100644
--- a/source3/modules/vfs_catia.c
+++ b/source3/modules/vfs_catia.c
@@ -151,7 +151,7 @@ static int catia_open(vfs_handle_struct *handle,
tmp_base_name = smb_fname->base_name;
smb_fname->base_name = name;
- ret = SMB_VFS_NEXT_OPEN(handle, name, fsp, flags, mode);
+ ret = SMB_VFS_NEXT_OPEN(handle, smb_fname, fsp, flags, mode);
smb_fname->base_name = tmp_base_name;
TALLOC_FREE(name);
@@ -204,7 +204,7 @@ static int catia_rename(vfs_handle_struct *handle,
smb_fname_dst_tmp);
out:
TALLOC_FREE(oname);
- TALLOC_FREE(newname);
+ TALLOC_FREE(nname);
TALLOC_FREE(smb_fname_src_tmp);
TALLOC_FREE(smb_fname_dst_tmp);
return ret;