mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-25 10:46:15 +03:00
Fix for commit 35e964f66
.
This commit is contained in:
parent
8449203b27
commit
f8e25984ae
1 changed files with 1 additions and 1 deletions
|
@ -606,7 +606,7 @@ double PeerListWidget::getPeerRelevance(const torrent_status& status, const libt
|
|||
}
|
||||
|
||||
if (localMissing == 0)
|
||||
return -1.0;
|
||||
return 0.0;
|
||||
|
||||
return (double)remoteHaves/localMissing;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue