Skip to content

Commit

Permalink
minor refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
gaurav2699 committed Dec 11, 2024
1 parent 1d1e130 commit 4a9aae6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/core/ack_tracker.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,9 @@ QuicAckTrackerDidHitReorderingThreshold(
if (result >= 0 && result < (int)QuicRangeSize(&Tracker->PacketNumbersToAck) - 1) {
SmallestUnreportedMissingPacketNumber =
QuicRangeGetHigh(QuicRangeGet(&Tracker->PacketNumbersToAck, result)) + 1;
}
else if (result < 0) {
} else if (result < 0) {
SmallestUnreportedMissingPacketNumber = LargestReported;
}
else {
} else {
return FALSE;
}

Expand Down

0 comments on commit 4a9aae6

Please sign in to comment.