(libT) raise the size of the io buffer in recalculateHash() to 8 KiB

This commit is contained in:
Charles Kerr 2008-10-14 05:24:59 +00:00
parent c2ddf1b2fe
commit ae0201db0f
1 changed files with 1 additions and 1 deletions

View File

@ -257,7 +257,7 @@ recalculateHash( const tr_torrent * tor,
while( bytesLeft )
{
uint8_t buf[2048];
uint8_t buf[8192];
const int len = MIN( bytesLeft, sizeof( buf ) );
success = !tr_ioRead( tor, pieceIndex, offset, len, buf );
if( !success )