summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-15 14:45:48 +0200
committerVolker Lendecke <vl@samba.org>2010-08-17 15:31:49 +0200
commit3aba8e9b7e1feb3a429dfa8e68fb00b61e985ffd (patch)
tree5a4843c8eba9def41977719f593bcbe66ca8849c /source3/rpc_server
parentfeb22e08972ab8a2ed6610b4d1ac1de361e6a500 (diff)
downloadsamba-3aba8e9b7e1feb3a429dfa8e68fb00b61e985ffd.tar.gz
samba-3aba8e9b7e1feb3a429dfa8e68fb00b61e985ffd.tar.bz2
samba-3aba8e9b7e1feb3a429dfa8e68fb00b61e985ffd.zip
s3: Remove unused "pos" arg from print_job_write
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_spoolss_nt.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c
index 1c04ef167a..893ddce531 100644
--- a/source3/rpc_server/srv_spoolss_nt.c
+++ b/source3/rpc_server/srv_spoolss_nt.c
@@ -5366,7 +5366,6 @@ WERROR _spoolss_WritePrinter(struct pipes_struct *p,
buffer_written = print_job_write(server_event_context(),p->msg_ctx,
snum, Printer->jobid,
(const char *)r->in.data.data,
- (SMB_OFF_T)-1,
(size_t)r->in._data_size);
if (buffer_written == (ssize_t)-1) {
*r->out.num_written = 0;