]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/sockets.cpp
fixed doom3 func_static creation bugs
[xonotic/netradiant.git] / radiant / sockets.cpp
index 6f4298c9f893b1286f58ef7ee09a31a57bfb1013..e08680beda0f47e45a8374933819cf42ea047d92 100644 (file)
@@ -34,7 +34,7 @@ int Net_Wait(socket_t *sock, long sec, long usec)
        // from select man page:
        // n is the highest-numbered descriptor in any of the three sets, plus 1
        // (no use on windows)
-  switch( select( sock->socket + 1, &readfds, NULL, NULL, &tout ) )
+  switch( select( sock->socket + 1, &readfds, 0, 0, &tout ) )
   {
   case SOCKET_ERROR:
     return -1;