diff options
author | Jeremy Allison <jra@samba.org> | 2004-05-04 20:16:59 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:51:24 -0500 |
commit | 741545b4978cf638f4ed8ccd533240d51e6cb24b (patch) | |
tree | d914a9c68e88981e45590198c0d28858fef9075f /source3/rpc_server | |
parent | c1b7b9662de0c03bd33879f23754a49de2a5209a (diff) | |
download | samba-741545b4978cf638f4ed8ccd533240d51e6cb24b.tar.gz samba-741545b4978cf638f4ed8ccd533240d51e6cb24b.tar.bz2 samba-741545b4978cf638f4ed8ccd533240d51e6cb24b.zip |
r475: Don't add ss padding length to the sent length as this is compared
with the actual data to return.
Jeremy.
(This used to be commit 7f837db6e47af39b4a33e10e745823b19edb3715)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_pipe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_pipe.c b/source3/rpc_server/srv_pipe.c index 076f800a40..3a4e085276 100644 --- a/source3/rpc_server/srv_pipe.c +++ b/source3/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; |