From: Frédéric Lécaille Date: Wed, 15 Dec 2021 14:32:55 +0000 (+0100) Subject: CLEANUP: quic: Comment fix for qc_strm_cpy() X-Git-Tag: v2.6-dev1~269 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3fe7df877d9f7843a5cd0b9e1a002057fd0ff4af;p=thirdparty%2Fhaproxy.git CLEANUP: quic: Comment fix for qc_strm_cpy() This function never returns a negative value... hopefully because it returns a size_t!!! --- diff --git a/src/xprt_quic.c b/src/xprt_quic.c index 0dfd1082bd..760b9a76df 100644 --- a/src/xprt_quic.c +++ b/src/xprt_quic.c @@ -2025,8 +2025,7 @@ static struct eb64_node *qcc_get_qcs(struct qcc *qcc, uint64_t id) } /* Copy as most as possible STREAM data from into stream. - * Returns the number of bytes copied or -1 if failed. Also update frame - * to reflect the data which have been consumed. + * Also update frame to reflect the data which have been consumed. */ static size_t qc_strm_cpy(struct buffer *buf, struct quic_stream *strm_frm) {