diff --git a/lib/ngtcp2_conn.c b/lib/ngtcp2_conn.c index 741995016f867a924c441721d60d93305930ae10..0f41132fbe2125be1ae2b576604c6a8e4f28bf29 100644 --- a/lib/ngtcp2_conn.c +++ b/lib/ngtcp2_conn.c @@ -1110,8 +1110,8 @@ static int conn_create_ack_frame(ngtcp2_conn *conn, ngtcp2_frame **pfr, ngtcp2_pktns *pktns, uint8_t type, ngtcp2_tstamp ts, ngtcp2_duration ack_delay, uint64_t ack_delay_exponent) { - /* TODO Measure an actual size of ACK bloks to find the best default - value. */ + /* TODO Measure an actual size of ACK blocks to find the best + default value. */ const size_t initial_max_ack_blks = 8; int64_t last_pkt_num; ngtcp2_acktr *acktr = &pktns->acktr; diff --git a/lib/ngtcp2_rtb.c b/lib/ngtcp2_rtb.c index 83308e8e88c4dbf9b19972e271f00cb00ab73b55..bbbea2d8dbb41d9d209acfde70d00600ab5f4d51 100644 --- a/lib/ngtcp2_rtb.c +++ b/lib/ngtcp2_rtb.c @@ -798,8 +798,7 @@ static int rtb_pkt_lost(ngtcp2_rtb *rtb, ngtcp2_conn_stat *cstat, } /* - * rtb_compute_pkt_loss_delay computes delay until packet is - * considered lost in NGTCP2_MICROSECONDS resolution. + * rtb_compute_pkt_loss_delay computes loss delay. */ static ngtcp2_duration compute_pkt_loss_delay(const ngtcp2_conn_stat *cstat) { /* 9/8 is kTimeThreshold */