From 3fe7df877d9f7843a5cd0b9e1a002057fd0ff4af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20L=C3=A9caille?= Date: Wed, 15 Dec 2021 15:32:55 +0100 Subject: [PATCH] CLEANUP: quic: Comment fix for qc_strm_cpy() This function never returns a negative value... hopefully because it returns a size_t!!! --- src/xprt_quic.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/xprt_quic.c b/src/xprt_quic.c index 0dfd1082b..760b9a76d 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) {