summaryrefslogtreecommitdiff
path: root/source3/smbd/reply.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/reply.c
parent660506d359d76700f6f6ae5b7e9c4d05fe505fb6 (diff)
downloadsamba-849cc65654d20e7077621ead2429a82fcac35197.tar.gz
samba-849cc65654d20e7077621ead2429a82fcac35197.tar.bz2
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/reply.c')
-rw-r--r--source3/smbd/reply.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 9b2c1e04da..dc7082964f 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -25,6 +25,7 @@
*/
#include "includes.h"
+#include "printing.h"
#include "smbd/globals.h"
/****************************************************************************
@@ -5053,7 +5054,7 @@ void reply_printopen(struct smb_request *req)
}
/* Open for exclusive use, write only. */
- status = print_fsp_open(req, conn, NULL, req->vuid, fsp);
+ status = print_spool_open(fsp, NULL, req->vuid);
if (!NT_STATUS_IS_OK(status)) {
file_free(req, fsp);