fixed bug in disk_io_thread read cache management
This commit is contained in:
parent
10c0956a2f
commit
8488d5eb59
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue