From 78c9d3138828d11c48aca941495875a1c28ad5c7 Mon Sep 17 00:00:00 2001 From: orbiter Date: Fri, 17 Oct 2014 21:32:07 +0200 Subject: [PATCH] fix for bad json --- htroot/yacy/seedlist.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htroot/yacy/seedlist.java b/htroot/yacy/seedlist.java index 93265ab60..d5d88a5cc 100644 --- a/htroot/yacy/seedlist.java +++ b/htroot/yacy/seedlist.java @@ -91,7 +91,7 @@ public final class seedlist { Set ips = seed.getIPs(); if (ips == null || ips.size() == 0) continue; prop.putJSON("peers_" + count + "_map_0_k", Seed.HASH); - prop.putJSON("peers_" + count + "_map_0_v", seed.hash); + prop.put("peers_" + count + "_map_0_v", '"' + serverObjects.toJSON(seed.hash) + '"'); prop.put("peers_" + count + "_map_0_c", 1); Map map = seed.getMap(); int c = 1;