merged torrent_handle::status fix from RC_0_16

This commit is contained in:
Arvid Norberg 2013-01-21 16:01:48 +00:00
parent d9b37f05cc
commit 2c3e4703fb
2 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@
* fix uTP edge case where udp socket buffer fills up
* fix nagle implementation in uTP
* take torrent_handle::query_pieces into account in torrent_handle::statue()
* honor trackers responding with 410
* fixed merkle tree torrent creation bug
* fixed crash with empty url-lists in torrent files

View File

@ -8647,7 +8647,7 @@ namespace libtorrent
#endif
}
if (has_picker())
if (has_picker() && (flags & torrent_handle::query_pieces))
{
st->sparse_regions = m_picker->sparse_regions();
int num_pieces = m_picker->num_pieces();