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
pull/1/head
danielr 17 years ago
parent 8ba0c9d1e9
commit 538359a0ff

@ -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<String>();
this.remaining = max;
this.doublecheck = new HashSet<String>();
this.nextSeed = nextInternal();
}
public boolean hasNext() {

Loading…
Cancel
Save