vquic: unblame netbsd

it was innocent.

Follow-up to 4872dafd80

Closes #17133
This commit is contained in:
Stefan Eissing 2025-04-22 14:23:31 +02:00 committed by Daniel Stenberg
parent 2a25abeaf1
commit ebe6612505
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -483,9 +483,8 @@ static CURLcode recvmsg_packets(struct Curl_cfilter *cf,
DEBUGASSERT(max_pkts > 0);
for(pkts = 0, total_nread = 0; pkts < max_pkts;) {
/* fully initialise this on each call to `recvmsg()`. There are
* operating systems out there that mess with `msg_iov.iov_len`
* in the call (*staring at NetBSD*). */
/* fully initialise this on each call to `recvmsg()`. There seem to
* operating systems out there that mess with `msg_iov.iov_len`. */
memset(&msg, 0, sizeof(msg));
msg_iov.iov_base = buf;
msg_iov.iov_len = (int)sizeof(buf);