summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-27 12:59:11 +0100
committerVolker Lendecke <vl@samba.org>2009-11-29 11:22:03 +0100
commitb1a0c68ff2408081e10dc29ebe745a51cda3b73a (patch)
treed3e2bfe9489eb9e76506bddad1a29c95b0199ce6 /source3/printing
parent19a7a6cbe39dd1a5d0a1ddccfab1ff07db7b041a (diff)
downloadsamba-b1a0c68ff2408081e10dc29ebe745a51cda3b73a.tar.gz
samba-b1a0c68ff2408081e10dc29ebe745a51cda3b73a.tar.bz2
samba-b1a0c68ff2408081e10dc29ebe745a51cda3b73a.zip
s3: "print_job_end" only looks at the size
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/printing.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c
index 2ef395e4a5..b5b8a56dd0 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -2582,8 +2582,7 @@ bool print_job_end(int snum, uint32 jobid, enum file_close_type close_type)
return False;
if ((close_type == NORMAL_CLOSE || close_type == SHUTDOWN_CLOSE) &&
- (sys_fstat(pjob->fd, &sbuf, lp_fake_dir_create_times())
- == 0)) {
+ (sys_fstat(pjob->fd, &sbuf, false) == 0)) {
pjob->size = sbuf.st_ex_size;
close(pjob->fd);
pjob->fd = -1;