git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea519ec
)
smbd: Convert print_spool_open to synthetic_smb_fname
author
Volker Lendecke
<vl@samba.org>
Mon, 15 Apr 2013 09:51:59 +0000
(11:51 +0200)
committer
Jeremy Allison
<jra@samba.org>
Wed, 17 Apr 2013 21:50:03 +0000
(14:50 -0700)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/printing/printspoolss.c
patch
|
blob
|
history
diff --git
a/source3/printing/printspoolss.c
b/source3/printing/printspoolss.c
index 5fab7d54efe046bfbcab65a5634d2adbf0ea2bcb..fc1e9c12e31ea5d75196fc6ae8c3b562047889cd 100644
(file)
--- 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;
}