summaryrefslogtreecommitdiff
path: root/lib/hostip4.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 /lib/hostip4.c
parent961c504ca57b87fa530072f00f7643da77ca4386 (diff)
downloadcurl-59939313f8452a9d817c178425c2ba3b91798ea9.tar.gz
Make usage of calloc()'s arguments consistent with rest of code base
Diffstat (limited to 'lib/hostip4.c')
-rw-r--r--lib/hostip4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hostip4.c b/lib/hostip4.c
index 847b77a18..c10df461c 100644
--- a/lib/hostip4.c
+++ b/lib/hostip4.c
@@ -137,7 +137,7 @@ Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn,
else {
int h_errnop;
- buf = calloc(CURL_HOSTENT_SIZE, 1);
+ buf = calloc(1, CURL_HOSTENT_SIZE);
if(!buf)
return NULL; /* major failure */
/*