aboutsummaryrefslogtreecommitdiff
path: root/ares/ares_process.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-11-18 10:33:54 +0000
committerYang Tse <yangsita@gmail.com>2009-11-18 10:33:54 +0000
commit59939313f8452a9d817c178425c2ba3b91798ea9 (patch)
tree2f394dd93b80a64e70c29062ac7adca1fa9e024a /ares/ares_process.c
parent961c504ca57b87fa530072f00f7643da77ca4386 (diff)
Make usage of calloc()'s arguments consistent with rest of code base
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);