projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60cdfe7
)
utils_curl_stats.c: fix order of calloc arguments
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sat, 23 Jul 2016 13:23:03 +0000
(15:23 +0200)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sat, 23 Jul 2016 13:23:03 +0000
(15:23 +0200)
src/utils_curl_stats.c
patch
|
blob
|
history
diff --git
a/src/utils_curl_stats.c
b/src/utils_curl_stats.c
index
ff2eb64
..
258c5cf
100644
(file)
--- 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;