mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-19 18:35:48 +01:00
(svn r3053) -Fix: [ 1326604 ] Fixed typo and hang for BeOS Networking (MYOB)
This commit is contained in:
parent
9314ea877f
commit
60882b29c8
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user