mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 11:28:56 +00:00
fix PXO chat lobby connection failure on Linux/Mac
This commit is contained in:
parent
3f54c1a2cd
commit
03b729e318
@ -205,7 +205,7 @@ int ConnectToChatServer(const char *serveraddr, int16_t chat_port, char *nicknam
|
||||
#ifndef __LINUX__
|
||||
if (WSAEWOULDBLOCK == WSAGetLastError())
|
||||
#else
|
||||
if (WSAEWOULDBLOCK == ret || 0 == ret)
|
||||
if (WSAEWOULDBLOCK == ret || EINPROGRESS == ret || 0 == ret)
|
||||
#endif
|
||||
{
|
||||
DLLmprintf(0, "Beginning socket connect\n");
|
||||
|
Loading…
Reference in New Issue
Block a user