summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2005-10-16 15:00:22 +0000
committertruelight <truelight@openttd.org>2005-10-16 15:00:22 +0000
commit60882b29c85d150ca55f7d4791e425f444b45e2e (patch)
treeaa6fb1c3397f8edf32eaeb743e5a42ea9b1f8c8e
parent9314ea877fbe32ed9acbe6675693cc9f1d423192 (diff)
downloadopenttd-60882b29c85d150ca55f7d4791e425f444b45e2e.tar.xz
(svn r3053) -Fix: [ 1326604 ] Fixed typo and hang for BeOS Networking (MYOB)
-rw-r--r--network_udp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/network_udp.c b/network_udp.c
index 7d664f38a..a24e8da7d 100644
--- a/network_udp.c
+++ b/network_udp.c
@@ -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
}