]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
[collectd 6] src/daemon/plugin.h: Revert plugin_write documentation change
authorLeonard Göhrs <leonard@goehrs.eu>
Fri, 28 Oct 2022 08:08:01 +0000 (10:08 +0200)
committerMatthias Runge <mrunge@matthias-runge.de>
Mon, 27 Feb 2023 17:37:53 +0000 (18:37 +0100)
The behaviour of plugin_write with regards to fam being NULL has not changed
with the switch to one thread per write plugin, so the documentation should
not change as well.

src/daemon/plugin.h

index 099d13b76c01c187805eae96fde27676578390c3..4eb701676e5ee5f89696f81dad081c2a4f246ab7 100644 (file)
@@ -251,7 +251,7 @@ int plugin_shutdown_all(void);
  * ARGUMENTS
  *  plugin     Name of the plugin. If NULL, the value is sent to all registered
  *             write functions.
- *  fam   The actual metric family to be processed.
+ *  fam   The actual metric family to be processed. Must not be NULL.
  *
  * RETURN VALUE
  *  Returns zero if the metric family was sucessfully enqueued or non-zero if