]> git.armaanb.net Git - asd-repo.git/blob - extra/chromium/patches/musl-hacks.patch
Switch browser to Chromium
[asd-repo.git] / extra / chromium / patches / musl-hacks.patch
1 diff --git a/net/socket/udp_socket_posix.cc b/net/socket/udp_socket_posix.cc
2 index bf201de..cd993ce 100644
3 --- a/net/socket/udp_socket_posix.cc
4 +++ b/net/socket/udp_socket_posix.cc
5 @@ -1155,7 +1155,7 @@ SendResult UDPSocketPosixSender::InternalSendmmsgBuffers(
6      msg_iov->push_back({const_cast<char*>(buffer->data()), buffer->length()});
7    msgvec->reserve(buffers.size());
8    for (size_t j = 0; j < buffers.size(); j++)
9 -    msgvec->push_back({{nullptr, 0, &msg_iov[j], 1, nullptr, 0, 0}, 0});
10 +    msgvec->push_back({{nullptr, 0, &msg_iov[j], 1, 0, 0, 0}, 0});
11    int result = HANDLE_EINTR(Sendmmsg(fd, &msgvec[0], buffers.size(), 0));
12    SendResult send_result(0, 0, std::move(buffers));
13    if (result < 0) {