diff options
author | Volker Lendecke <vl@samba.org> | 2013-04-15 11:51:59 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2013-04-17 14:50:03 -0700 |
commit | 235a309fc17f029912cbd0608b36a080435ae4b9 (patch) | |
tree | 5b87d00f8f45c2d1432d4d1bca518ed90cd220e2 /source3/printing | |
parent | ea519ec5cefba1079e3f67a2b9b58c8f0ca35948 (diff) | |
download | samba-235a309fc17f029912cbd0608b36a080435ae4b9.tar.gz samba-235a309fc17f029912cbd0608b36a080435ae4b9.tar.bz2 samba-235a309fc17f029912cbd0608b36a080435ae4b9.zip |
smbd: Convert print_spool_open to synthetic_smb_fname
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/printing')
-rw-r--r-- | source3/printing/printspoolss.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/printing/printspoolss.c b/source3/printing/printspoolss.c index 5fab7d54ef..fc1e9c12e3 100644 --- a/source3/printing/printspoolss.c +++ b/source3/printing/printspoolss.c @@ -212,9 +212,9 @@ NTSTATUS print_spool_open(files_struct *fsp, } /* setup a full fsp */ - status = create_synthetic_smb_fname(fsp, pf->filename, NULL, - NULL, &fsp->fsp_name); - if (!NT_STATUS_IS_OK(status)) { + fsp->fsp_name = synthetic_smb_fname(fsp, pf->filename, NULL, NULL); + if (fsp->fsp_name == NULL) { + status = NT_STATUS_NO_MEMORY; goto done; } |