diff options
author | Volker Lendecke <vl@samba.org> | 2013-04-15 11:09:32 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2013-04-17 14:50:01 -0700 |
commit | 10d8d7d0bdea0e472c76241936cbfa70f1a60af8 (patch) | |
tree | 7646ebbfb8f47fab59a365c65e8a4339eecfc167 /source3/smbd | |
parent | 862c561ffc3dcb45d80d5fdc314854687e98f525 (diff) | |
download | samba-10d8d7d0bdea0e472c76241936cbfa70f1a60af8.tar.gz samba-10d8d7d0bdea0e472c76241936cbfa70f1a60af8.tar.bz2 samba-10d8d7d0bdea0e472c76241936cbfa70f1a60af8.zip |
smbd: Convert rename_internals_fsp to synthetic_smb_fname
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/reply.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index d65161dd58..cff1aa7498 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -6329,10 +6329,10 @@ NTSTATUS rename_internals_fsp(connection_struct *conn, * Create an smb_filename struct using the original last * component of the destination. */ - status = create_synthetic_smb_fname_split(ctx, - smb_fname_dst->original_lcomp, NULL, - &smb_fname_orig_lcomp); - if (!NT_STATUS_IS_OK(status)) { + smb_fname_orig_lcomp = synthetic_smb_fname_split( + ctx, smb_fname_dst->original_lcomp, NULL); + if (smb_fname_orig_lcomp == NULL) { + status = NT_STATUS_NO_MEMORY; TALLOC_FREE(fname_dst_lcomp_base_mod); goto out; } |