projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'origin/collectd-5.8'
[collectd.git]
/
src
/
statsd.c
diff --git
a/src/statsd.c
b/src/statsd.c
index
4a6c09a
..
ccd15eb
100644
(file)
--- a/
src/statsd.c
+++ b/
src/statsd.c
@@
-597,8
+597,9
@@
static int statsd_config_timer_percentile(oconfig_item_t *ci) /* {{{ */
return ERANGE;
}
return ERANGE;
}
- tmp = realloc(conf_timer_percentile, sizeof(*conf_timer_percentile) *
- (conf_timer_percentile_num + 1));
+ tmp =
+ realloc(conf_timer_percentile,
+ sizeof(*conf_timer_percentile) * (conf_timer_percentile_num + 1));
if (tmp == NULL) {
ERROR("statsd plugin: realloc failed.");
return ENOMEM;
if (tmp == NULL) {
ERROR("statsd plugin: realloc failed.");
return ENOMEM;