diff options
author | Steinar H. Gunderson <sesse@google.com> | 2007-09-28 14:46:51 +0000 |
---|---|---|
committer | Steinar H. Gunderson <sesse@google.com> | 2007-09-28 14:46:51 +0000 |
commit | 50ba81cd230f9054fa7c45cb4202ce8720c502b3 (patch) | |
tree | 277c02b995aacc09540ec58270e10cd1845ff2b3 /ares_process.c | |
parent | b669e17544c0ff64d120b8a0df2677c59ccea8fd (diff) | |
download | c-ares-50ba81cd230f9054fa7c45cb4202ce8720c502b3.tar.gz c-ares-50ba81cd230f9054fa7c45cb4202ce8720c502b3.tar.bz2 c-ares-50ba81cd230f9054fa7c45cb4202ce8720c502b3.zip |
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.)
Diffstat (limited to 'ares_process.c')
-rw-r--r-- | ares_process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ares_process.c b/ares_process.c index 15aa06e..d359b11 100644 --- a/ares_process.c +++ b/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) |