mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-20 04:59:11 +00:00
(svn r3053) -Fix: [ 1326604 ] Fixed typo and hang for BeOS Networking (MYOB)
This commit is contained in:
@@ -353,7 +353,7 @@ bool NetworkUDPListen(SOCKET *udp, uint32 host, uint16 port, bool broadcast)
|
|||||||
#ifndef BEOS_NET_SERVER
|
#ifndef BEOS_NET_SERVER
|
||||||
ioctlsocket(*udp, FIONBIO, &blocking);
|
ioctlsocket(*udp, FIONBIO, &blocking);
|
||||||
#else
|
#else
|
||||||
setsockopt(*upd, SOL_SOCKET, SO_NONBLOCK, &blocking);
|
setsockopt(*udp, SOL_SOCKET, SO_NONBLOCK, &blocking, NULL);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user