mirror of
https://github.com/curl/curl.git
synced 2026-07-31 11:38:06 +03:00
sendmsg_x, initialize msg_datalen correctly
This commit is contained in:
parent
aff0eaa54d
commit
c2cbcb2128
1 changed files with 1 additions and 0 deletions
|
|
@ -190,6 +190,7 @@ static CURLcode do_sendmsg(struct Curl_cfilter *cf,
|
|||
memset(&mmsg[j], 0, sizeof(mmsg[j]));
|
||||
mmsg[j].msg_iov = &msg_iov[j];
|
||||
mmsg[j].msg_iovlen = 1;
|
||||
mmsg[j].msg_datalen = msg_iov[j].iov_len;
|
||||
}
|
||||
|
||||
#if defined(CURL_HAVE_DIAG) && defined(__APPLE__)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue