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
commit548f8575fb6272a26bb0a2bd9872e75cc9886a0b (patch)
treeaa6fb1c3397f8edf32eaeb743e5a42ea9b1f8c8e
parentb0174ab76b93b16fe50edc5b40391c5ebb6babf4 (diff)
downloadopenttd-548f8575fb6272a26bb0a2bd9872e75cc9886a0b.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
}