CLEANUP: quic: Comment fix for qc_strm_cpy()

This function never returns a negative value... hopefully because it returns
a size_t!!!
This commit is contained in:
Frédéric Lécaille 2021-12-15 15:32:55 +01:00 committed by Amaury Denoyelle
parent e629cfd96a
commit 3fe7df877d

View 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)
{