aboutsummaryrefslogtreecommitdiff
path: root/src
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 /src
parent961c504ca57b87fa530072f00f7643da77ca4386 (diff)
Make usage of calloc()'s arguments consistent with rest of code base
Diffstat (limited to 'src')
-rw-r--r--src/urlglob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/urlglob.c b/src/urlglob.c
index afbb66ca5..a849b2b87 100644
--- a/src/urlglob.c
+++ b/src/urlglob.c
@@ -343,7 +343,7 @@ int glob_url(URLGlob** glob, char* url, int *urlnum, FILE *error)
if(NULL == glob_buffer)
return CURLE_OUT_OF_MEMORY;
- glob_expand = calloc(sizeof(URLGlob), 1);
+ glob_expand = calloc(1, sizeof(URLGlob));
if(NULL == glob_expand) {
free(glob_buffer);
return CURLE_OUT_OF_MEMORY;