1
0
Fork 0

(svn r3053) -Fix: [ 1326604 ] Fixed typo and hang for BeOS Networking (MYOB)

release/0.4.5
truelight 2005-10-16 15:00:22 +00:00
parent 9314ea877f
commit 60882b29c8
1 changed files with 1 additions and 1 deletions

View File

@ -353,7 +353,7 @@ bool NetworkUDPListen(SOCKET *udp, uint32 host, uint16 port, bool broadcast)
#ifndef BEOS_NET_SERVER
ioctlsocket(*udp, FIONBIO, &blocking);
#else
setsockopt(*upd, SOL_SOCKET, SO_NONBLOCK, &blocking);
setsockopt(*udp, SOL_SOCKET, SO_NONBLOCK, &blocking, NULL);
#endif
}