projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc7ccf8
)
utils_rrdcreate.c: fix minor style issue
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sat, 15 Dec 2018 18:20:43 +0000
(19:20 +0100)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sat, 15 Dec 2018 18:40:14 +0000
(19:40 +0100)
src/utils_rrdcreate.c
patch
|
blob
|
history
diff --git
a/src/utils_rrdcreate.c
b/src/utils_rrdcreate.c
index
8f92cfd
..
7f1f235
100644
(file)
--- a/
src/utils_rrdcreate.c
+++ b/
src/utils_rrdcreate.c
@@
-111,7
+111,7
@@
static srrd_create_args_t *srrd_create_args_create(const char *filename,
return NULL;
}
- args->argv = calloc(
(size_t)(argc + 1)
, sizeof(*args->argv));
+ args->argv = calloc(
argc + 1
, sizeof(*args->argv));
if (args->argv == NULL) {
P_ERROR("srrd_create_args_create: calloc failed.");
srrd_create_args_destroy(args);