diff options
author | spholz <44805808+spholz@users.noreply.github.com> | 2021-08-02 20:12:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-02 20:12:12 +0200 |
commit | e71f78d04c0bad33f4ce5cc48a4dcc5ea0d32f92 (patch) | |
tree | c1dcf2c59027c60b6b6e4bd7be28e2982c4c5b08 /src/core | |
parent | decoders: Optimize swizzle copy performance (#6790) (diff) | |
download | yuzu-e71f78d04c0bad33f4ce5cc48a4dcc5ea0d32f92.tar yuzu-e71f78d04c0bad33f4ce5cc48a4dcc5ea0d32f92.tar.gz yuzu-e71f78d04c0bad33f4ce5cc48a4dcc5ea0d32f92.tar.bz2 yuzu-e71f78d04c0bad33f4ce5cc48a4dcc5ea0d32f92.tar.lz yuzu-e71f78d04c0bad33f4ce5cc48a4dcc5ea0d32f92.tar.xz yuzu-e71f78d04c0bad33f4ce5cc48a4dcc5ea0d32f92.tar.zst yuzu-e71f78d04c0bad33f4ce5cc48a4dcc5ea0d32f92.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/network/network.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/network/network.cpp b/src/core/network/network.cpp index 526bfa110..375bc79ec 100644 --- a/src/core/network/network.cpp +++ b/src/core/network/network.cpp @@ -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) { |