summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}