(trunk libT) #3234 "Checking existing data can show 100%" -- fixed in trunk for 2.00

This commit is contained in:
Charles Kerr 2010-05-26 16:40:47 +00:00
parent b0b9e17032
commit a1b85a633c
1 changed files with 2 additions and 0 deletions

View File

@ -63,6 +63,8 @@ verifyTorrent( tr_torrent * tor, tr_bool * stopFlag )
const int64_t buflen = 1024 * 128; /* 128 KiB buffer */
uint8_t * buffer = tr_valloc( buflen );
tr_torrentUncheck( tor );
SHA1_Init( &sha );
while( !*stopFlag && ( pieceIndex < tor->info.pieceCount ) )