diff options
author | Yang Tse <yangsita@gmail.com> | 2009-11-18 10:33:54 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-11-18 10:33:54 +0000 |
commit | 59939313f8452a9d817c178425c2ba3b91798ea9 (patch) | |
tree | 2f394dd93b80a64e70c29062ac7adca1fa9e024a /lib/easy.c | |
parent | 961c504ca57b87fa530072f00f7643da77ca4386 (diff) | |
download | curl-59939313f8452a9d817c178425c2ba3b91798ea9.tar.gz |
Make usage of calloc()'s arguments consistent with rest of code base
Diffstat (limited to 'lib/easy.c')
-rw-r--r-- | lib/easy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/easy.c b/lib/easy.c index 0fee13f3e..ee74fa62e 100644 --- a/lib/easy.c +++ b/lib/easy.c @@ -619,7 +619,7 @@ CURL *curl_easy_duphandle(CURL *incurl) bool fail = TRUE; struct SessionHandle *data=(struct SessionHandle *)incurl; - struct SessionHandle *outcurl = calloc(sizeof(struct SessionHandle), 1); + struct SessionHandle *outcurl = calloc(1, sizeof(struct SessionHandle)); if(NULL == outcurl) return NULL; /* failure */ |