mirror of
https://frontier.innolan.net/rainlance/c-ares.git
synced 2026-10-05 05:10:04 +00:00
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.)
This commit is contained in:
+1
-1
@@ -62,7 +62,7 @@ void ares_destroy(ares_channel channel)
|
||||
while (channel->queries) {
|
||||
query = channel->queries;
|
||||
channel->queries = query->next;
|
||||
query->callback(query->arg, ARES_EDESTRUCTION, NULL, 0);
|
||||
query->callback(query->arg, ARES_EDESTRUCTION, 0, NULL, 0);
|
||||
if (query->tcpbuf)
|
||||
free(query->tcpbuf);
|
||||
if (query->server_info)
|
||||
|
||||
Reference in New Issue
Block a user