mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-10-24 05:20:56 +02:00
ok no sin len
This commit is contained in:
parent
67bfb51e70
commit
7ad5f0151d
1 changed files with 3 additions and 3 deletions
|
|
@ -753,9 +753,9 @@ static Network::PollEvents TranslatePollRevents(s16 revents) {
|
|||
|
||||
sockaddr_in TranslateFromSockAddrIn(Network::SockAddrIn input) {
|
||||
sockaddr_in result{};
|
||||
#ifdef __unix__
|
||||
result.sin_len = sizeof(result);
|
||||
#endif
|
||||
// #ifdef __unix__
|
||||
// result.sin_len = sizeof(result);
|
||||
// #endif
|
||||
result.sin_family = sa_family_t(TranslateDomainToNative(Domain(input.family)));
|
||||
result.sin_port = input.portno; //no need to translate
|
||||
#ifdef _WIN32
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue