]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: quic: Comment fix for qc_strm_cpy()
authorFrédéric Lécaille <flecaille@haproxy.com>
Wed, 15 Dec 2021 14:32:55 +0000 (15:32 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 17 Dec 2021 07:38:43 +0000 (08:38 +0100)
This function never returns a negative value... hopefully because it returns
a size_t!!!

src/xprt_quic.c

index 0dfd1082bd3a5d0b23a61bfa9e38c3f9886ae348..760b9a76df4ba1a1a6bc666493c876e8a5f0bb81 100644 (file)
@@ -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 <strm_frm> into <strm> stream.
- * Returns the number of bytes copied or -1 if failed. Also update <strm_frm> frame
- * to reflect the data which have been consumed.
+ * Also update <strm_frm> frame to reflect the data which have been consumed.
  */
 static size_t qc_strm_cpy(struct buffer *buf, struct quic_stream *strm_frm)
 {