mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 21:03:30 -07: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)
|
if (localMissing == 0)
|
||||||
return -1.0;
|
return 0.0;
|
||||||
|
|
||||||
return (double)remoteHaves/localMissing;
|
return (double)remoteHaves/localMissing;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue