From 59948a729339804093cb2a2f7f152624f0a7f292 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sat, 23 Jul 2016 15:23:03 +0200 Subject: [PATCH] utils_curl_stats.c: fix order of calloc arguments --- src/utils_curl_stats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils_curl_stats.c b/src/utils_curl_stats.c index ff2eb641..258c5cfa 100644 --- a/src/utils_curl_stats.c +++ b/src/utils_curl_stats.c @@ -164,7 +164,7 @@ curl_stats_t *curl_stats_from_config (oconfig_item_t *ci) if (ci == NULL) return NULL; - s = calloc (sizeof (*s), 1); + s = calloc (1, sizeof (*s)); if (s == NULL) return NULL; -- 2.11.0