Fix Builder->TotalDatagramsLength being incorrectly calculated
It was being incremented by a variable that had just been set to 0, which means it always stayed 0 itself
@@ -947,9 +947,9 @@ Exit:
if (Builder->Datagram != NULL) {
Builder->Datagram->Length = Builder->DatagramLength;
Builder->Datagram = NULL;
- Builder->DatagramLength = 0;
++Builder->TotalCountDatagrams;
Builder->TotalDatagramsLength += Builder->DatagramLength;
+ Builder->DatagramLength = 0;
}
if (FlushBatchedDatagrams || CxPlatSendDataIsFull(Builder->SendData)) {
