fixed typo

This commit is contained in:
Arvid Norberg 2009-06-28 22:58:21 +00:00
parent 315a4cdd1e
commit 50fed84fe6
1 changed files with 1 additions and 1 deletions

View File

@ -2540,7 +2540,7 @@ namespace libtorrent
TORRENT_ASSERT(block_size > 0);
TORRENT_ASSERT(block_size <= t->block_size());
if (m_outstanding_bytes < block_size) break;
if (m_outstanding_bytes < block_size) return;
peer_request r;
r.piece = block.piece_index;