uuid plugin: make it work on FreeBSD
[collectd.git] / src / utils_curl_stats.c
index ff2eb64..2865e9f 100644 (file)
@@ -25,6 +25,7 @@
  **/
 
 #include "collectd.h"
+
 #include "common.h"
 #include "utils_curl_stats.h"
 
@@ -164,7 +165,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;