early-access version 1961

This commit is contained in:
pineappleEA
2021-08-03 07:02:43 +02:00
parent ec76444e96
commit beced16dd0
3 changed files with 8 additions and 7 deletions

View File

@@ -570,7 +570,7 @@ std::pair<s32, Errno> Socket::SendTo(u32 flags, const std::vector<u8>& message,
ASSERT(flags == 0);
const sockaddr* to = nullptr;
const int tolen = addr ? 0 : sizeof(sockaddr);
const int tolen = addr ? sizeof(sockaddr) : 0;
sockaddr host_addr_in;
if (addr) {