I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 9a1e1a92 authored by zzz's avatar zzz
Browse files

dont use == on doubles

parent 732eddd1
No related branches found
No related tags found
No related merge requests found
......@@ -1542,7 +1542,7 @@ public class I2PSnarkServlet extends BasicServlet {
float pct;
if (isValid) {
pct = (float) (100.0 * peer.completed() / meta.getPieces());
if (pct == 100.0)
if (pct >= 100.0)
out.write(_("Seed"));
else {
String ps = String.valueOf(pct);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment