projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b747a37
)
libcollectdclient: remove unneccesary cast
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sat, 23 Jul 2016 13:16:41 +0000
(15:16 +0200)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sat, 23 Jul 2016 13:16:41 +0000
(15:16 +0200)
src/libcollectdclient/client.c
patch
|
blob
|
history
diff --git
a/src/libcollectdclient/client.c
b/src/libcollectdclient/client.c
index
8b5ac0b
..
26a5929
100644
(file)
--- a/
src/libcollectdclient/client.c
+++ b/
src/libcollectdclient/client.c
@@
-693,7
+693,7
@@
int lcc_getval (lcc_connection_t *c, lcc_identifier_t *ident, /* {{{ */
if (ret_values_names != NULL)
{
- values_names =
(char **)
calloc (values_num, sizeof (*values_names));
+ values_names = calloc (values_num, sizeof (*values_names));
if (values_names == NULL)
BAIL_OUT (ENOMEM);
}