projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
madwifi: fix scan-build warning
[collectd.git]
/
src
/
utils_curl_stats.c
diff --git
a/src/utils_curl_stats.c
b/src/utils_curl_stats.c
index
ff2eb64
..
2865e9f
100644
(file)
--- a/
src/utils_curl_stats.c
+++ b/
src/utils_curl_stats.c
@@
-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;