summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-04-12 11:28:16 +0200
committerJeremy Allison <jra@samba.org>2013-04-17 14:49:59 -0700
commit3794574bc159a0c657a1732a6c2d1b47f8166511 (patch)
tree7c02331204c45edf4d5761c805d6efab8f37c432 /source3
parent987ebb15918a10fd17bf784a054499111d4ad4e5 (diff)
downloadsamba-3794574bc159a0c657a1732a6c2d1b47f8166511.tar.gz
samba-3794574bc159a0c657a1732a6c2d1b47f8166511.tar.bz2
samba-3794574bc159a0c657a1732a6c2d1b47f8166511.zip
vfs: Convert stream_smb_fname to synthetic_smb_fname
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/modules/vfs_streams_depot.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/modules/vfs_streams_depot.c b/source3/modules/vfs_streams_depot.c
index b74e774f08..335640fd67 100644
--- a/source3/modules/vfs_streams_depot.c
+++ b/source3/modules/vfs_streams_depot.c
@@ -367,10 +367,10 @@ static NTSTATUS stream_smb_fname(vfs_handle_struct *handle,
DEBUG(10, ("stream filename = %s\n", stream_fname));
/* Create an smb_filename with stream_name == NULL. */
- status = create_synthetic_smb_fname(talloc_tos(), stream_fname, NULL,
- NULL, smb_fname_out);
- if (!NT_STATUS_IS_OK(status)) {
- return status;
+ *smb_fname_out = synthetic_smb_fname(
+ talloc_tos(), stream_fname, NULL, NULL);
+ if (*smb_fname_out == NULL) {
+ return NT_STATUS_NO_MEMORY;
}
return NT_STATUS_OK;