]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
clang format
authorBarbara Kaczorowska <bkjg@google.com>
Tue, 18 Aug 2020 19:46:06 +0000 (19:46 +0000)
committerBarbara Kaczorowska <bkjg@google.com>
Wed, 19 Aug 2020 07:42:09 +0000 (07:42 +0000)
src/daemon/utils_cache.c

index 181554b7527a00a4e4012325e3072ff35f597d88..d43a19e429bd91d91af427080236ccb8c9a0e74f 100644 (file)
@@ -386,7 +386,8 @@ static int uc_update_metric(metric_t const *m) {
   switch (m->family->type) {
   case METRIC_TYPE_COUNTER: {
     counter_t diff = counter_diff(ce->values_raw.counter, m->value.counter);
-    printf("cdtime to double: %lf\n", (CDTIME_T_TO_DOUBLE(m->time - ce->last_time)));
+    printf("cdtime to double: %lf\n",
+           (CDTIME_T_TO_DOUBLE(m->time - ce->last_time)));
     ce->values_gauge =
         ((double)diff) / (CDTIME_T_TO_DOUBLE(m->time - ce->last_time));
     ce->values_raw.counter = m->value.counter;