mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-01-24 18:44:52 +08:00
Better fix for e6b7a429ea
.
This commit is contained in:
parent
e6b7a429ea
commit
5cf976bbb2
@ -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…
Reference in New Issue
Block a user