summaryrefslogtreecommitdiff
path: root/ares_cancel.c
diff options
context:
space:
mode:
Diffstat (limited to 'ares_cancel.c')
-rw-r--r--ares_cancel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ares_cancel.c b/ares_cancel.c
index 65f86b9..c3d668e 100644
--- a/ares_cancel.c
+++ b/ares_cancel.c
@@ -31,7 +31,7 @@ void ares_cancel(ares_channel channel)
for (query = channel->queries; query; query = next)
{
next = query->next;
- query->callback(query->arg, ARES_ETIMEOUT, NULL, 0);
+ query->callback(query->arg, ARES_ETIMEOUT, 0, NULL, 0);
free(query->tcpbuf);
free(query->server_info);
free(query);