diff options
author | deva <deva> | 2009-08-18 07:25:38 +0000 |
---|---|---|
committer | deva <deva> | 2009-08-18 07:25:38 +0000 |
commit | f4b19dd9c8339ff4591aea9d821bacdf568f5de3 (patch) | |
tree | e9cba820180f8a2c570e63e0b2b6131db3f8371a /server | |
parent | 9f58fbc3765e59c9e79c105ad6065e95e9579383 (diff) |
Fixed missing ttl on 'completed'R1_1_0
Diffstat (limited to 'server')
-rw-r--r-- | server/src/server.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/src/server.cc b/server/src/server.cc index a5a4880..f2be8a4 100644 --- a/server/src/server.cc +++ b/server/src/server.cc @@ -156,7 +156,9 @@ static std::string handleRequest(Transaction *transaction, continue; } - bool completed = db.checkMacro(transaction->cpr, macro.attributes["name"]); + bool completed = db.checkMacro(transaction->cpr, + macro.attributes["name"], + time(NULL)-Conf::db_max_ttl); answer += " <macro completed="; if(completed) answer += "\"true\""; |