From 538359a0ff8b77f1f0eb61d60d03f847fa65ff8c Mon Sep 17 00:00:00 2001 From: danielr Date: Tue, 11 Nov 2008 18:55:16 +0000 Subject: [PATCH] simple fix to get DHT working again (maybe something more has to be done ;) fix for http://forum.yacy-websuche.de/viewtopic.php?f=6&t=1578 git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5327 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/yacy/yacyPeerSelection.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/de/anomic/yacy/yacyPeerSelection.java b/source/de/anomic/yacy/yacyPeerSelection.java index 368516999..a679d17bb 100644 --- a/source/de/anomic/yacy/yacyPeerSelection.java +++ b/source/de/anomic/yacy/yacyPeerSelection.java @@ -94,9 +94,9 @@ public class yacyPeerSelection { public acceptRemoteIndexSeedEnum(yacySeedDB seedDB, final String starthash, int max) { this.seedDB = seedDB; this.se = getDHTSeeds(seedDB, starthash, yacyVersion.YACY_HANDLES_COLLECTION_INDEX); - this.nextSeed = nextInternal(); - this.doublecheck = new HashSet(); this.remaining = max; + this.doublecheck = new HashSet(); + this.nextSeed = nextInternal(); } public boolean hasNext() {