Fix for commit 35e964f66.

This commit is contained in:
sledgehammer999 2014-12-07 01:39:49 +02:00
parent 8449203b27
commit f8e25984ae

View file

@ -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;
}