diff options
author | Simo Sorce <ssorce@redhat.com> | 2010-05-04 02:51:12 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2010-07-27 10:27:13 -0400 |
commit | 660506d359d76700f6f6ae5b7e9c4d05fe505fb6 (patch) | |
tree | e9b93712fe3d2dad8ddf412039892b0e55c08c5a /source3/printing/printspoolss.c | |
parent | 94ee35f9cc0880c267bee14047d559948eb14ede (diff) | |
download | samba-660506d359d76700f6f6ae5b7e9c4d05fe505fb6.tar.gz samba-660506d359d76700f6f6ae5b7e9c4d05fe505fb6.tar.bz2 samba-660506d359d76700f6f6ae5b7e9c4d05fe505fb6.zip |
s3-printing: Handled case when smbd spools a file on behalf of spoolss.
Diffstat (limited to 'source3/printing/printspoolss.c')
-rw-r--r-- | source3/printing/printspoolss.c | 1 |
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); |