Skip to content

Commit

Permalink
Remove ||
Browse files Browse the repository at this point in the history
  • Loading branch information
ianswett committed Jul 21, 2019
1 parent 26ecb8f commit b977940
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions draft-ietf-quic-recovery.md
Expand Up @@ -1175,7 +1175,7 @@ GetEarliestLossTime():
space = Initial
for pn_space in [ Handshake, ApplicationData ]:
if (loss_time[pn_space] != 0 &&
(time == 0 || loss_time[pn_space] < time)):
(time == 0 or loss_time[pn_space] < time)):
time = loss_time[pn_space];
space = pn_space
return time, space
Expand Down Expand Up @@ -1270,7 +1270,7 @@ DetectLostPackets(pn_space):
continue

// Mark packet as lost, or set time when it should be marked.
if (unacked.time_sent <= lost_send_time ||
if (unacked.time_sent <= lost_send_time or
largest_acked_packet[pn_space] >=
unacked.packet_number + kPacketThreshold):
sent_packets[pn_space].remove(unacked.packet_number)
Expand Down

0 comments on commit b977940

Please sign in to comment.