summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-03-10 17:46:09 -0800
committerJeremy Allison <jra@samba.org>2010-03-10 17:46:09 -0800
commit59545276f2bd6df8ee5e75e96e707fd86ff44350 (patch)
tree56529a137ab4b73c467b0624bc189a9014177246 /source3/printing
parente999472e36076e432187371b0853b887effe1067 (diff)
downloadsamba-59545276f2bd6df8ee5e75e96e707fd86ff44350.tar.gz
samba-59545276f2bd6df8ee5e75e96e707fd86ff44350.tar.bz2
samba-59545276f2bd6df8ee5e75e96e707fd86ff44350.zip
Try and fix bug #7233 - print fails with jobs >4GB from Win7 clients.
Remove an arbitrarty 4G B limit that *doesn't need to be there* ! Jeremy.
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/printing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c
index 50494e37dc..e48a2d173c 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -2232,7 +2232,7 @@ pause, or resume print job. User name: %s. Printer name: %s.",
ssize_t print_job_write(int snum, uint32 jobid, const char *buf, SMB_OFF_T pos, size_t size)
{
const char* sharename = lp_const_servicename(snum);
- int return_code;
+ ssize_t return_code;
struct printjob *pjob;
pjob = print_job_find(sharename, jobid);