(trunk libT) fix typo in error message reported by Rolcol

This commit is contained in:
Charles Kerr 2010-12-10 03:28:27 +00:00
parent e634510ae1
commit f4ee84069e
1 changed files with 1 additions and 1 deletions

View File

@ -1924,7 +1924,7 @@ fillOutputBuffer( tr_peermsgs * msgs, time_t now )
/* check the piece if it needs checking... */
if( !err && tr_torrentPieceNeedsCheck( msgs->torrent, req.index ) )
if(( err = !tr_torrentCheckPiece( msgs->torrent, req.index )))
tr_torrentSetLocalError( msgs->torrent, _( "Piece #%zu is corrupt! Please Verify Local Data." ), (size_t)piece );
tr_torrentSetLocalError( msgs->torrent, _( "Piece #%zu is corrupt! Please Verify Local Data." ), (size_t)req.index );
if( err )
{