precaution: clear current_tracker in torrent::status()

This commit is contained in:
Arvid Norberg
2010-03-20 00:52:36 +00:00
parent 7188691674
commit 9435e84644

View File

@@ -6190,6 +6190,7 @@ namespace libtorrent
st.announce_interval = boost::posix_time::seconds(0);
st.current_tracker.clear();
if (m_last_working_tracker >= 0)
{
TORRENT_ASSERT(m_last_working_tracker < int(m_trackers.size()));