summaryrefslogtreecommitdiff
path: root/ares_destroy.c
diff options
context:
space:
mode:
Diffstat (limited to 'ares_destroy.c')
-rw-r--r--ares_destroy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ares_destroy.c b/ares_destroy.c
index e844ea6..d1f82bd 100644
--- a/ares_destroy.c
+++ b/ares_destroy.c
@@ -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)