From 59939313f8452a9d817c178425c2ba3b91798ea9 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 18 Nov 2009 10:33:54 +0000 Subject: Make usage of calloc()'s arguments consistent with rest of code base --- lib/cookie.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/cookie.c') diff --git a/lib/cookie.c b/lib/cookie.c index 89f90f1d3..b76394cfa 100644 --- a/lib/cookie.c +++ b/lib/cookie.c @@ -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 */ -- cgit v1.2.3