From 6f306e829e94575de1d893a31e5e6766791b77a1 Mon Sep 17 00:00:00 2001 From: Ben Millwood Date: Fri, 5 Jun 2009 18:09:07 +0100 Subject: [PATCH] * NET_Sleep select() doesn't use highestfd as it should --- code/qcommon/net_ip.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/code/qcommon/net_ip.c b/code/qcommon/net_ip.c index 67d7109..29a5435 100644 --- a/code/qcommon/net_ip.c +++ b/code/qcommon/net_ip.c @@ -1667,7 +1667,7 @@ void NET_Sleep( int msec ) { timeout.tv_sec = msec/1000; timeout.tv_usec = (msec%1000)*1000; - select(ip_socket+1, &fdset, NULL, NULL, &timeout); + select(highestfd + 1, &fdset, NULL, NULL, &timeout); } -- 1.6.3.1