summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-05-04 20:16:59 +0000
committerJeremy Allison <jra@samba.org>2004-05-04 20:16:59 +0000
commitd198e01fe635f8e72e65b7fcab2fb700b77f7bbd (patch)
tree447bd6a7edcf02e19273f265dd21fe964ebb665f
parent7323b71bb05dab57e905f19ee6fff3fef2bf0a1b (diff)
downloadsamba-d198e01fe635f8e72e65b7fcab2fb700b77f7bbd.tar.gz
samba-d198e01fe635f8e72e65b7fcab2fb700b77f7bbd.tar.xz
samba-d198e01fe635f8e72e65b7fcab2fb700b77f7bbd.zip
r475: Don't add ss padding length to the sent length as this is compared
with the actual data to return. Jeremy.
-rw-r--r--source/rpc_server/srv_pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/rpc_server/srv_pipe.c b/source/rpc_server/srv_pipe.c
index 076f800a404..3a4e0852769 100644
--- a/source/rpc_server/srv_pipe.c
+++ b/source/rpc_server/srv_pipe.c
@@ -318,7 +318,7 @@ BOOL create_next_pdu(pipes_struct *p)
* Setup the counts for this PDU.
*/
- p->out_data.data_sent_length += (data_len + ss_padding_len);
+ p->out_data.data_sent_length += data_len;
p->out_data.current_pdu_len = p->hdr.frag_len;
p->out_data.current_pdu_sent = 0;