contrib/format.sh src/aggregation.c
authorFlorian Forster <octo@collectd.org>
Tue, 28 Nov 2017 07:24:14 +0000 (08:24 +0100)
committerFlorian Forster <octo@collectd.org>
Tue, 28 Nov 2017 07:24:14 +0000 (08:24 +0100)
src/aggregation.c

index 8d5cd08..272a04f 100644 (file)
@@ -405,9 +405,10 @@ static int agg_instance_read(agg_instance_t *inst, cdtime_t t) /* {{{ */
     READ_FUNC(average, (inst->sum / ((gauge_t)inst->num)));
     READ_FUNC(min, inst->min);
     READ_FUNC(max, inst->max);
-    READ_FUNC(stddev, sqrt((((gauge_t)inst->num) * inst->squares_sum) -
-                           (inst->sum * inst->sum)) /
-                          ((gauge_t)inst->num));
+    READ_FUNC(stddev,
+              sqrt((((gauge_t)inst->num) * inst->squares_sum) -
+                   (inst->sum * inst->sum)) /
+                  ((gauge_t)inst->num));
   }
 
   /* Reset internal state. */