summaryrefslogtreecommitdiffstats
path: root/source3/smbd/close.c
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2010-05-04 04:28:48 -0400
committerSimo Sorce <idra@samba.org>2010-07-27 10:27:13 -0400
commit849cc65654d20e7077621ead2429a82fcac35197 (patch)
tree0d6c07cfd5113b8f1d5bf809e17ad1303d9b3edc /source3/smbd/close.c
parent660506d359d76700f6f6ae5b7e9c4d05fe505fb6 (diff)
downloadsamba-849cc65654d20e7077621ead2429a82fcac35197.tar.gz
samba-849cc65654d20e7077621ead2429a82fcac35197.tar.xz
samba-849cc65654d20e7077621ead2429a82fcac35197.zip
s3-smbd: Migrated to new spoolss functions for printing.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Diffstat (limited to 'source3/smbd/close.c')
-rw-r--r--source3/smbd/close.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/smbd/close.c b/source3/smbd/close.c
index 24992fd0ec3..fb0e20647e2 100644
--- a/source3/smbd/close.c
+++ b/source3/smbd/close.c
@@ -20,6 +20,7 @@
*/
#include "includes.h"
+#include "printing.h"
#include "librpc/gen_ndr/messaging.h"
#include "smbd/globals.h"
@@ -604,7 +605,8 @@ static NTSTATUS close_normal_file(struct smb_request *req, files_struct *fsp,
status = ntstatus_keeperror(status, tmp);
if (fsp->print_file) {
- print_fsp_end(fsp, close_type);
+ /* FIXME: return spool errors */
+ print_spool_end(fsp, close_type);
file_free(req, fsp);
return NT_STATUS_OK;
}