From: Ruben Kerkhof Date: Sat, 23 Jul 2016 13:23:03 +0000 (+0200) Subject: utils_curl_stats.c: fix order of calloc arguments X-Git-Tag: collectd-5.6.0~189 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=59948a729339804093cb2a2f7f152624f0a7f292;p=collectd.git utils_curl_stats.c: fix order of calloc arguments --- 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;