X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fstatsd.c;h=9050596f9d3f1894830d479a4d8d09bed27c4c22;hb=48622c3d7c8c0d3ab07cda8a1947c33bfe31df73;hp=6c7820a1e2d020dc6a08e55ea92f1147e353ca24;hpb=9f8dc5668faf5432dcb1430017bd7a1c383c2453;p=collectd.git diff --git a/src/statsd.c b/src/statsd.c index 6c7820a1..9050596f 100644 --- a/src/statsd.c +++ b/src/statsd.c @@ -606,9 +606,8 @@ static int statsd_config_timer_percentile(oconfig_item_t *ci) /* {{{ */ 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;