Attempt to fix the build of vfs_catia.c -- Tim, please check!
authorVolker Lendecke <vl@samba.org>
Tue, 7 Jul 2009 18:40:39 +0000 (20:40 +0200)
committerVolker Lendecke <vl@samba.org>
Tue, 7 Jul 2009 18:43:21 +0000 (20:43 +0200)
source3/modules/vfs_catia.c

index e5779423deced1daf5e796ad4b4b6f55273b5102..1fd101282cda4579e7f2f46385d7575df052a749 100644 (file)
@@ -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;