]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
contrib/format.sh src/daemon/unit.h 4194/head
authorFlorian Forster <octo@collectd.org>
Thu, 28 Dec 2023 19:18:47 +0000 (20:18 +0100)
committerFlorian Forster <octo@collectd.org>
Thu, 28 Dec 2023 19:50:08 +0000 (20:50 +0100)
src/daemon/unit.h

index 93f522a75e3e7f13b2a75fe195188f937c700608..afaf62fc03308c5504f21a1fda64ed555651b06b 100644 (file)
@@ -35,8 +35,8 @@
  * tries to heuristically determine a unit for the metric family, based on known
  * OpenTelemetry metric names:
  * https://opentelemetry.io/docs/specs/semconv/general/metrics/#instrument-naming
- * If successful, a new string is allocated on the heap and returned. This string must
- * be freed using free(). If unsuccessful, NULL is returned.
+ * If successful, a new string is allocated on the heap and returned. This
+ * string must be freed using free(). If unsuccessful, NULL is returned.
  *
  * This is designed to be used like this:
  *   fam->unit = default_unit(fam);