]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
Clang format 3551/head
authorelene-margalit <elene.margalit@gmail.com>
Wed, 9 Sep 2020 22:29:32 +0000 (00:29 +0200)
committerelene-margalit <elene.margalit@gmail.com>
Wed, 9 Sep 2020 22:29:32 +0000 (00:29 +0200)
src/utils/format_json/format_json.c

index 86b919ebc1411028c70338838eab9a48e7c56898..33b07f134658ec41ff0367c08cab6b6270900d19 100644 (file)
@@ -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));