mirror of
https://github.com/curl/curl.git
synced 2026-05-06 22:27:28 +03:00
vquic: unblame netbsd
it was innocent.
Follow-up to 4872dafd80
Closes #17133
This commit is contained in:
parent
2a25abeaf1
commit
ebe6612505
1 changed files with 2 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue