remove leftover debug code
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2443 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
15f5bdfb4b
commit
752d3571e0
2 changed files with 0 additions and 6 deletions
|
@ -28,9 +28,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
void NET_SendPacket(cluster_t *cluster, SOCKET sock, int length, char *data, netadr_t adr)
|
void NET_SendPacket(cluster_t *cluster, SOCKET sock, int length, char *data, netadr_t adr)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
Sys_Printf(cluster, "udp send size %i\n", length);
|
|
||||||
if (length > 1000)
|
|
||||||
Sys_Printf(cluster, "udp send size %i\n", length);
|
|
||||||
|
|
||||||
ret = sendto(sock, data, length, 0, (struct sockaddr *)adr, sizeof(struct sockaddr_in));
|
ret = sendto(sock, data, length, 0, (struct sockaddr *)adr, sizeof(struct sockaddr_in));
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
|
|
|
@ -3593,9 +3593,6 @@ void QW_UpdateUDPStuff(cluster_t *cluster)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
// if (rand()&3)
|
|
||||||
// continue;
|
|
||||||
|
|
||||||
m.data = buffer;
|
m.data = buffer;
|
||||||
m.cursize = read;
|
m.cursize = read;
|
||||||
m.maxsize = MAX_MSGLEN;
|
m.maxsize = MAX_MSGLEN;
|
||||||
|
|
Loading…
Reference in a new issue