From 175c9046fa6b8b77d882aa202183ba6b9ac795c3 Mon Sep 17 00:00:00 2001 From: havoc Date: Wed, 11 Nov 2009 14:08:41 +0000 Subject: [PATCH] better to use NET_MAXMESSAGE than 65536 for download buffering git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9464 d7cf8633-e32d-0410-b094-e92efae38249 --- cl_parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cl_parse.c b/cl_parse.c index a57cab57..f9039d03 100644 --- a/cl_parse.c +++ b/cl_parse.c @@ -1380,7 +1380,7 @@ void CL_StopDownload(int size, int crc) void CL_ParseDownload(void) { int i, start, size; - unsigned char data[65536]; + unsigned char data[NET_MAXMESSAGE]; start = MSG_ReadLong(); size = (unsigned short)MSG_ReadShort(); -- 2.39.2