1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 09:37:56 +00:00

(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

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 )