mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
smbd: Convert print_spool_open to synthetic_smb_fname
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
ea519ec5ce
commit
235a309fc1
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user