diff options
author | Corubba Smith <corubba@gmx.de> | 2025-03-12 15:53:46 +0100 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2025-03-12 16:07:52 +0100 |
commit | 0ac16e540283e2fa6c89292a416448c944bd3483 (patch) | |
tree | f79a9f9548929553f6b4abd137c7341c278023dd /output/ulogd_output_GRAPHITE.c | |
parent | 64699d8103a43e09d2b5df57558c5f5a05583fe8 (diff) |
all: use config_parse_file function in all plugins
Replace all usages of `config_parse_file()` in plugins with the new
`ulogd_parse_configfile()` function, adding error handling where it was
missing. I used the same codestyle as the surrounding code, which varies
between plugins.
Signed-off-by: Corubba Smith <corubba@gmx.de>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'output/ulogd_output_GRAPHITE.c')
-rw-r--r-- | output/ulogd_output_GRAPHITE.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/output/ulogd_output_GRAPHITE.c b/output/ulogd_output_GRAPHITE.c index 5328f8e..e54b24d 100644 --- a/output/ulogd_output_GRAPHITE.c +++ b/output/ulogd_output_GRAPHITE.c @@ -214,7 +214,7 @@ static int configure_graphite(struct ulogd_pluginstance *pi, struct ulogd_pluginstance_stack *stack) { ulogd_log(ULOGD_DEBUG, "parsing config file section %s\n", pi->id); - return config_parse_file(pi->id, pi->config_kset); + return ulogd_parse_configfile(pi->id, pi->config_kset); } static struct ulogd_plugin graphite_plugin = { |