From: Amaury Denoyelle Date: Tue, 29 Mar 2022 12:50:25 +0000 (+0200) Subject: CLEANUP: quic: complete comment on qcs_try_to_consume X-Git-Tag: v2.6-dev5~84 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=95e50fbeff1d08d63806f8b3b182ce43cec48abc;p=thirdparty%2Fhaproxy.git CLEANUP: quic: complete comment on qcs_try_to_consume Specify the return value usage. --- diff --git a/src/xprt_quic.c b/src/xprt_quic.c index 0af176ec1f..56c688515f 100644 --- a/src/xprt_quic.c +++ b/src/xprt_quic.c @@ -1400,7 +1400,8 @@ static int qc_pkt_decrypt(struct quic_rx_packet *pkt, struct quic_enc_level *qel } /* Remove from stream the acknowledged frames. - * Never fails. + * + * Returns 1 if at least one frame was removed else 0. */ static int qcs_try_to_consume(struct qcs *qcs) {