Skip to content

Commit

Permalink
*) property "mytime" was not set correctly
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@285 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
theli committed Jun 16, 2005
1 parent 822c9fa commit d8cb332
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions htroot/yacy/query.java
Expand Up @@ -67,7 +67,9 @@ public static serverObjects respond(httpHeader header, serverObjects post, serve
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
Expand Down Expand Up @@ -141,7 +143,7 @@ public static serverObjects respond(httpHeader header, serverObjects post, serve
return prop;
}

prop.put("mytime", yacyCore.universalDateShortString());

// return rewrite properties
return prop;
}
Expand Down

0 comments on commit d8cb332

Please sign in to comment.