1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-02 00:23:50 +03:00

r475: Don't add ss padding length to the sent length as this is compared

with the actual data to return.
Jeremy.
This commit is contained in:
Jeremy Allison
2004-05-04 20:16:59 +00:00
committed by Gerald (Jerry) Carter
parent 038cae8a37
commit 7f837db6e4

View File

@@ -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;