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:
committed by
Gerald (Jerry) Carter
parent
038cae8a37
commit
7f837db6e4
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user