Browse Source

Fix for commit 35e964f66.

adaptive-webui-19844
sledgehammer999 10 years ago
parent
commit
f8e25984ae
  1. 2
      src/properties/peerlistwidget.cpp

2
src/properties/peerlistwidget.cpp

@ -606,7 +606,7 @@ double PeerListWidget::getPeerRelevance(const torrent_status& status, const libt @@ -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…
Cancel
Save