From 85035dc3195c276eb63ca86d88b78071095b83a5 Mon Sep 17 00:00:00 2001 From: orbiter Date: Thu, 10 May 2007 13:27:38 +0000 Subject: [PATCH] addition to svn 3699: check send/receive if p2p-mode is activated git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3701 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/ConfigNetwork_p.html | 9 ++++++++- source/de/anomic/kelondro/kelondroRowSet.java | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/htroot/ConfigNetwork_p.html b/htroot/ConfigNetwork_p.html index 08e10a3af..23078a22d 100644 --- a/htroot/ConfigNetwork_p.html +++ b/htroot/ConfigNetwork_p.html @@ -24,6 +24,13 @@ document.ConfigForm.indexReceive.checked = false; } } + + function EnableP2P() { + if(document.ConfigForm.network[0].checked) { + document.ConfigForm.indexDistribute.checked = true; + document.ConfigForm.indexReceive.checked = true; + } + } //--> @@ -50,7 +57,7 @@
- +
diff --git a/source/de/anomic/kelondro/kelondroRowSet.java b/source/de/anomic/kelondro/kelondroRowSet.java index 410db163c..d5af7e5d0 100644 --- a/source/de/anomic/kelondro/kelondroRowSet.java +++ b/source/de/anomic/kelondro/kelondroRowSet.java @@ -236,7 +236,7 @@ public class kelondroRowSet extends kelondroRowCollection implements kelondroInd p = 0; } else { p = binaryPosition(first, 0, first.length); // check this to find bug in DHT selection enumeration - System.out.println("binaryposition for key " + new String(firstKey) + " is " + p); + //System.out.println("binaryposition for key " + new String(firstKey) + " is " + p); } }