IOQ3 commit 2207

This commit is contained in:
Richard Allen 2012-01-13 17:23:47 +00:00
parent c486531580
commit e96ca782da

View file

@ -520,20 +520,12 @@ NET_GetPacket
Receive one packet
==================
*/
#ifdef _DEBUG
int recvfromCount;
#endif
qboolean NET_GetPacket(netadr_t *net_from, msg_t *net_message, fd_set *fdr)
{
int ret;
struct sockaddr_storage from;
socklen_t fromlen;
int err;
#ifdef _DEBUG
recvfromCount++; // performance check
#endif
if(ip_socket != INVALID_SOCKET && FD_ISSET(ip_socket, fdr))
{