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 /input/packet/ulogd_inppkt_UNIXSOCK.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 'input/packet/ulogd_inppkt_UNIXSOCK.c')
-rw-r--r-- | input/packet/ulogd_inppkt_UNIXSOCK.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/input/packet/ulogd_inppkt_UNIXSOCK.c b/input/packet/ulogd_inppkt_UNIXSOCK.c index f1d1534..b328500 100644 --- a/input/packet/ulogd_inppkt_UNIXSOCK.c +++ b/input/packet/ulogd_inppkt_UNIXSOCK.c @@ -719,8 +719,7 @@ static int configure(struct ulogd_pluginstance *upi, ulogd_log(ULOGD_DEBUG, "parsing config file section `%s', " "plugin `%s'\n", upi->id, upi->plugin->name); - config_parse_file(upi->id, upi->config_kset); - return 0; + return ulogd_parse_configfile(upi->id, upi->config_kset); } static int start(struct ulogd_pluginstance *upi) |