aboutsummaryrefslogtreecommitdiff
path: root/ares/ares_process.c
diff options
context:
space:
mode:
Diffstat (limited to 'ares/ares_process.c')
-rw-r--r--ares/ares_process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ares/ares_process.c b/ares/ares_process.c
index 0bc3985d8..5df0f60bd 100644
--- a/ares/ares_process.c
+++ b/ares/ares_process.c
@@ -732,7 +732,7 @@ void ares__send_query(ares_channel channel, struct query *query,
return;
}
}
- sendreq = calloc(sizeof(struct send_request), 1);
+ sendreq = calloc(1, sizeof(struct send_request));
if (!sendreq)
{
end_query(channel, query, ARES_ENOMEM, NULL, 0);