Browse Source

Better fix for e6b7a429ea.

adaptive-webui-19844
sledgehammer999 9 years ago
parent
commit
5cf976bbb2
  1. 4
      src/core/bittorrent/trackerentry.cpp

4
src/core/bittorrent/trackerentry.cpp

@ -61,7 +61,9 @@ int TrackerEntry::tier() const @@ -61,7 +61,9 @@ int TrackerEntry::tier() const
TrackerEntry::Status TrackerEntry::status() const
{
if (m_nativeEntry.is_working())
// libtorrent::announce_entry::is_working() returns
// true when the tracker hasn't been tried yet.
if (m_nativeEntry.verified && m_nativeEntry.is_working())
return Working;
else if ((m_nativeEntry.fails == 0) && m_nativeEntry.updating)
return Updating;

Loading…
Cancel
Save