summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b747a37)
raw | patch | inline | side by side (parent: b747a37)
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 |
index 8b5ac0bd490b711ae975f467665079f84837d211..26a59297d27aa39e3ea319711f32370e9a00bce5 100644 (file)
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);
}