Make usage of calloc()'s arguments consistent with rest of code base

This commit is contained in:
Yang Tse
2009-11-18 10:33:54 +00:00
parent 961c504ca5
commit 59939313f8
19 changed files with 25 additions and 25 deletions

View File

@@ -204,7 +204,7 @@ Curl_cookie_add(struct SessionHandle *data,
#endif
/* First, alloc and init a new struct for it */
co = calloc(sizeof(struct Cookie), 1);
co = calloc(1, sizeof(struct Cookie));
if(!co)
return NULL; /* bail out if we're this low on memory */