]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
Formatted code in metric.c. 3545/head
authorelene-margalit <elene.margalit@gmail.com>
Sun, 30 Aug 2020 11:07:55 +0000 (13:07 +0200)
committerelene-margalit <elene.margalit@gmail.com>
Sun, 30 Aug 2020 11:07:55 +0000 (13:07 +0200)
src/daemon/metric.c

index 3d3070bc3eb3378764941c9c7b85402ea50a20f1..e604655fb512d34900e226c85138c42021662187 100644 (file)
 #define VALID_NAME_CHARS VALID_LABEL_CHARS ":"
 
 int distribution_count_marshal_text(strbuf_t *buf, distribution_t *dist) {
-
   return strbuf_printf(buf, "%" PRIu64, distribution_total_counter(dist));
 }
 
 int distribution_sum_marshal_text(strbuf_t *buf, distribution_t *dist) {
-
   return strbuf_printf(buf, GAUGE_FORMAT, distribution_total_sum(dist));
 }
 
 int distribution_marshal_text(strbuf_t *buf, distribution_t *dist) {
-
   buckets_array_t buckets = get_buckets(dist);
   int status_buckets_heading = strbuf_printf(buf, "\"buckets:\" {\n");
   if (status_buckets_heading != 0) {