add client->now

This commit is contained in:
Bob Halley
1999-10-29 16:16:54 +00:00
parent 0c357624ee
commit 7622df5154
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -492,6 +492,7 @@ client_request(isc_task_t *task, isc_event_t *event) {
client->state = ns_clientstate_working;
if (isc_stdtime_get(&client->requesttime) != ISC_R_SUCCESS)
client->requesttime = 0;
client->now = client->requesttime;
if (result != ISC_R_SUCCESS) {
if (TCP_CLIENT(client))
+1
View File
@@ -69,6 +69,7 @@ struct ns_client {
void (*next)(ns_client_t *, isc_result_t);
ns_query_t query;
isc_stdtime_t requesttime;
isc_stdtime_t now;
ISC_LINK(struct ns_client) link;
};