From: elene-margalit Date: Wed, 9 Sep 2020 22:29:32 +0000 (+0200) Subject: Clang format X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F3551%2Fhead;p=thirdparty%2Fcollectd.git Clang format --- diff --git a/src/utils/format_json/format_json.c b/src/utils/format_json/format_json.c index 86b919ebc..33b07f134 100644 --- a/src/utils/format_json/format_json.c +++ b/src/utils/format_json/format_json.c @@ -136,13 +136,15 @@ static int format_metric_distribution(strbuf_t buf, yajl_gen g, } CHECK(yajl_gen_map_close(g)); /*End Buckets*/ - strbuf_printf(&buf, "%" PRIu64, distribution_total_counter(m->value.distribution)); + strbuf_printf(&buf, "%" PRIu64, + distribution_total_counter(m->value.distribution)); CHECK(json_add_string(g, "count")); CHECK(json_add_string(g, buf.ptr)); strbuf_reset(&buf); - strbuf_printf(&buf, GAUGE_FORMAT, distribution_total_sum(m->value.distribution)); + strbuf_printf(&buf, GAUGE_FORMAT, + distribution_total_sum(m->value.distribution)); CHECK(json_add_string(g, "sum")); CHECK(json_add_string(g, buf.ptr));