mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-14 18:15:28 -04:00
Fix not connecting to servers on macos (oops)
This commit is contained in:
parent
185b58fe7f
commit
a8361c4600
@ -1024,7 +1024,7 @@ cc_result Socket_Poll(SocketHandle socket, int mode, cc_bool* success) {
|
||||
}
|
||||
|
||||
if (selectCount == -1) { *success = false; return Socket__Error(); }
|
||||
*success = FD_ISSET(socket, &set); return 0;
|
||||
*success = FD_ISSET(socket, &set) != 0; return 0;
|
||||
}
|
||||
#else
|
||||
#include <poll.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user