possible fix for #1149

This commit is contained in:
Charles Kerr 2008-08-07 05:55:40 +00:00
parent 665b4425d1
commit eec87200e1
1 changed files with 1 additions and 1 deletions

View File

@ -685,7 +685,7 @@ refillPulse( void * vtorrent )
int handled = FALSE;
const tr_piece_index_t piece = pieces[i];
assert( piece < tor->info.pieceSize );
assert( piece < tor->info.pieceCount );
/* find a peer who can ask for this piece */
for( j=0; !handled && j<peerCount; )