|
|
|
@ -203,7 +203,7 @@ public final class transferRWI {
|
|
|
|
|
unknownURLs.append(",").append((String) it.next());
|
|
|
|
|
}
|
|
|
|
|
if (unknownURLs.length() > 0) { unknownURLs.delete(0, 1); }
|
|
|
|
|
if (wordhashes.length == 0) {
|
|
|
|
|
if ((wordhashes.length == 0) || (received == 0)) {
|
|
|
|
|
sb.getLog().logInfo("Received 0 RWIs from " + otherPeerName + ", processed in " + (System.currentTimeMillis() - startProcess) + " milliseconds, requesting " + unknownURL.size() + " URLs");
|
|
|
|
|
} else {
|
|
|
|
|
final double avdist = (yacyDHTAction.dhtDistance(yacyCore.seedDB.mySeed.hash, wordhashes[0]) + yacyDHTAction.dhtDistance(yacyCore.seedDB.mySeed.hash, wordhashes[received - 1])) / 2.0;
|
|
|
|
|