summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-09-20 15:11:31 +0000
committerGerald Carter <jerry@samba.org>2002-09-20 15:11:31 +0000
commit56baccb928c54f11882485030135aded52ae42ad (patch)
tree2be764f544c82a36fbf3905206f7c6b7c09d5edb /source3
parent8ea2d8f255763b027cc70e35f96ad2ad325a4589 (diff)
downloadsamba-56baccb928c54f11882485030135aded52ae42ad.tar.gz
samba-56baccb928c54f11882485030135aded52ae42ad.tar.bz2
samba-56baccb928c54f11882485030135aded52ae42ad.zip
CUPS merge from SAMBA_2_2
(This used to be commit cbb16eac0e79649f4383763439c7e745f27fd0cb)
Diffstat (limited to 'source3')
-rw-r--r--source3/printing/print_cups.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/printing/print_cups.c b/source3/printing/print_cups.c
index 51ebb739a3..858647a52f 100644
--- a/source3/printing/print_cups.c
+++ b/source3/printing/print_cups.c
@@ -665,6 +665,10 @@ cups_job_submit(int snum, struct printjob *pjob)
httpClose(http);
+ if ( ret == 0 )
+ unlink(pjob->filename);
+ /* else print_job_end will do it for us */
+
return (ret);
}