Author: toad
Date: 2007-07-06 20:32:38 +0000 (Fri, 06 Jul 2007)
New Revision: 13970

Modified:
   trunk/freenet/src/freenet/clients/http/ConnectionsToadlet.java
Log:
doh

Modified: trunk/freenet/src/freenet/clients/http/ConnectionsToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/ConnectionsToadlet.java      
2007-07-06 20:04:18 UTC (rev 13969)
+++ trunk/freenet/src/freenet/clients/http/ConnectionsToadlet.java      
2007-07-06 20:32:38 UTC (rev 13970)
@@ -87,7 +87,7 @@

                private int compareLocations(PeerNodeStatus firstNode, 
PeerNodeStatus secondNode) {
                        double diff = firstNode.getLocation() - 
secondNode.getLocation(); // Can occasionally be the same, and we must have a 
consistent sort order
-                       if(Double.MIN_VALUE*2 < Math.abs(diff)) return 0;
+                       if(Double.MIN_VALUE*2 > Math.abs(diff)) return 0;
                        return diff > 0 ? 1 : -1;
                }



Reply via email to