diff --git a/src/xprt_quic.c b/src/xprt_quic.c index 49a444235..55a47c253 100644 --- a/src/xprt_quic.c +++ b/src/xprt_quic.c @@ -6180,14 +6180,12 @@ static int qc_do_build_pkt(unsigned char *pos, const unsigned char *end, ssize_t room = end - pos; TRACE_PROTO("Not enough room", QUIC_EV_CONN_HPKT, qc, NULL, NULL, &room); - /* TODO: this should not have happened if qc_build_frms() - * had correctly computed and sized the frames to be - * added to this packet. Note that was added - * from to list by qc_build_frms(). + /* Note that was added from to list by + * qc_build_frms(). */ LIST_DELETE(&cf->list); LIST_INSERT(frms, &cf->list); - break; + continue; } quic_tx_packet_refinc(pkt);