From 6ce589c3ee1b905d22d419531e8e2019134e833b Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Fri, 28 Sep 2007 14:46:51 +0000 Subject: Make the query callbacks return the number of timeouts that happened during the execution of a query, and update documentation accordingly. (Patch from the Google tree.) --- ares/ares_process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ares/ares_process.c') diff --git a/ares/ares_process.c b/ares/ares_process.c index 15aa06e1c..d359b115a 100644 --- a/ares/ares_process.c +++ b/ares/ares_process.c @@ -936,7 +936,7 @@ static struct query *end_query (ares_channel channel, struct query *query, int s } /* Invoke the callback */ - query->callback(query->arg, status, abuf, alen); + query->callback(query->arg, status, query->timeouts, abuf, alen); for (q = &channel->queries; *q; q = &(*q)->next) { if (*q == query) -- cgit v1.2.3