summaryrefslogtreecommitdiff
path: root/source3/printing/printspoolss.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/printing/printspoolss.c')
-rw-r--r--source3/printing/printspoolss.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/printing/printspoolss.c b/source3/printing/printspoolss.c
index aaec8918ee..939b627029 100644
--- a/source3/printing/printspoolss.c
+++ b/source3/printing/printspoolss.c
@@ -275,6 +275,7 @@ void print_spool_end(files_struct *fsp, enum file_close_type close_type)
switch (close_type) {
case NORMAL_CLOSE:
case SHUTDOWN_CLOSE:
+ /* this also automatically calls spoolss_EndDocPrinter */
status = rpccli_spoolss_ClosePrinter(cli, fsp->print_file,
&fsp->print_file->handle,
&werr);