diff --git a/src/quic_tx.c b/src/quic_tx.c index 9f87aac67..b8de12a57 100644 --- a/src/quic_tx.c +++ b/src/quic_tx.c @@ -2243,8 +2243,8 @@ static int qc_do_build_pkt(unsigned char *pos, const unsigned char *end, ack_frm_len = 0; /* Do not ack and probe at the same time. */ if ((must_ack || (qel->pktns->flags & QUIC_FL_PKTNS_ACK_REQUIRED)) && !qel->pktns->tx.pto_probe) { - struct quic_arngs *arngs = &qel->pktns->rx.arngs; - BUG_ON(eb_is_empty(&qel->pktns->rx.arngs.root)); + struct quic_arngs *arngs = &qel->pktns->rx.arngs; + BUG_ON(eb_is_empty(&qel->pktns->rx.arngs.root)); ack_frm.tx_ack.arngs = arngs; if (qel->pktns->flags & QUIC_FL_PKTNS_NEW_LARGEST_PN) { qel->pktns->tx.ack_delay =