Fix sysmenu test connection bug on Windows.

This commit is contained in:
Matthew Parlane 2013-08-31 16:44:28 +12:00
parent 7ce3d846d5
commit c497d62836
1 changed files with 2 additions and 2 deletions

View File

@ -417,8 +417,8 @@ void WiiSocket::update(bool read, bool write, bool except)
// Act as non blocking when SO_MSG_NONBLOCK is specified // Act as non blocking when SO_MSG_NONBLOCK is specified
forceNonBlock = ((flags & SO_MSG_NONBLOCK) == SO_MSG_NONBLOCK); forceNonBlock = ((flags & SO_MSG_NONBLOCK) == SO_MSG_NONBLOCK);
// send/sendto only handles PEEK // send/sendto only handles MSG_OOB
flags &= SO_MSG_PEEK | SO_MSG_OOB; flags &= SO_MSG_OOB;
u8 destaddr[28]; u8 destaddr[28];
struct sockaddr_in* addr = (struct sockaddr_in*)&destaddr; struct sockaddr_in* addr = (struct sockaddr_in*)&destaddr;