From 660506d359d76700f6f6ae5b7e9c4d05fe505fb6 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Tue, 4 May 2010 02:51:12 -0400 Subject: s3-printing: Handled case when smbd spools a file on behalf of spoolss. --- source3/printing/printspoolss.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/printing/printspoolss.c') 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); -- cgit