Skip to content

Commit

Permalink
Merge pull request #432 from notimaginative/fix_chat_lobby_connect
Browse files Browse the repository at this point in the history
fix PXO chat lobby connection failure on Linux/Mac
  • Loading branch information
Lgt2x authored Jun 12, 2024
2 parents 3f54c1a + ed0ff23 commit b4afcc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netcon/mtclient/chat_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 (EINPROGRESS == ret || 0 == ret)
#endif
{
DLLmprintf(0, "Beginning socket connect\n");
Expand Down

0 comments on commit b4afcc2

Please sign in to comment.