summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-15 14:46:46 +0200
committerVolker Lendecke <vl@samba.org>2010-08-17 15:31:49 +0200
commitc36082222643059b3f81d2dcd962c550fb497b74 (patch)
tree1195bfbc8e8f4adb03f8dba08aae51ae095ea108 /source3
parent3aba8e9b7e1feb3a429dfa8e68fb00b61e985ffd (diff)
downloadsamba-c36082222643059b3f81d2dcd962c550fb497b74.tar.gz
samba-c36082222643059b3f81d2dcd962c550fb497b74.tar.bz2
samba-c36082222643059b3f81d2dcd962c550fb497b74.zip
s3: Directly call write_data from print_job_write()
Diffstat (limited to 'source3')
-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 0c9570b8c7..82516b352c 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -2371,7 +2371,7 @@ ssize_t print_job_write(struct tevent_context *ev,
return -1;
}
- return_code = write_data_at_offset(pjob->fd, buf, size, (SMB_OFF_T)-1);
+ return_code = write_data(pjob->fd, buf, size);
if (return_code>0) {
pjob->size += size;