Up map packet size to 1K from 256 bytes

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8244 4a71c877-e1ca-e34f-864e-861f7616d084
master
Buginator 2009-10-10 00:38:33 +00:00 committed by Git SVN Gateway
parent baac0071c8
commit 2ea2c754eb
1 changed files with 1 additions and 1 deletions

View File

@ -2561,7 +2561,7 @@ BOOL NETsetupTCPIP(const char *machine)
// File Transfer programs. // File Transfer programs.
/** Send file. It returns % of file sent when 100 it's complete. Call until it returns 100. /** Send file. It returns % of file sent when 100 it's complete. Call until it returns 100.
* @TODO Needs to be rewritten. See issue #215. */ * @TODO Needs to be rewritten. See issue #215. */
#define MAX_FILE_TRANSFER_PACKET 256 #define MAX_FILE_TRANSFER_PACKET 1024
UBYTE NETsendFile(BOOL newFile, char *fileName, UDWORD player) UBYTE NETsendFile(BOOL newFile, char *fileName, UDWORD player)
{ {
static int32_t fileSize,currPos; static int32_t fileSize,currPos;