Skip to content

Commit

Permalink
Check we request next piece
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan386 committed Jan 15, 2015
1 parent 283f961 commit d545907
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions shareaza/BTClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1262,6 +1262,7 @@ BOOL CBTClient::OnMetadataRequest(CBTPacket* pPacket)
else
{
int nNextPiece = m_pDownload->m_pTorrent.NextInfoPiece();
ASSERT( nNextPiece > nPiece );
if ( nNextPiece >= 0 && m_nUtMetadataID )
SendInfoRequest( nNextPiece );
}
Expand Down

0 comments on commit d545907

Please sign in to comment.