fixed bug in disk_io_thread read cache management

This commit is contained in:
Arvid Norberg 2008-08-07 12:30:36 +00:00
parent 10c0956a2f
commit 8488d5eb59
1 changed files with 1 additions and 0 deletions

View File

@ -617,6 +617,7 @@ namespace libtorrent
size -= to_copy;
block_offset = 0;
buffer_offset += to_copy;
++block;
}
ret = j.buffer_size;
++m_cache_stats.blocks_read;