*) property "mytime" was not set correctly

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@285 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
theli 20 years ago
parent 822c9fa276
commit d8cb3324a9

@ -67,7 +67,9 @@ public class query {
String key = (String) post.get("key", ""); // transmission key for response
String obj = (String) post.get("object", ""); // keyword for query subject
String env = (String) post.get("env", ""); // argument to query
prop.put("mytime", yacyCore.universalDateShortString());
// check if we are the right target and requester has correct information about this peer
if ((yacyCore.seedDB.mySeed == null) || (!(yacyCore.seedDB.mySeed.hash.equals(youare)))) {
// this request has a wrong target
@ -141,7 +143,7 @@ public class query {
return prop;
}
prop.put("mytime", yacyCore.universalDateShortString());
// return rewrite properties
return prop;
}

Loading…
Cancel
Save