summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9272eec)
raw | patch | inline | side by side (parent: 9272eec)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Fri, 21 Nov 2008 23:58:36 +0000 (00:58 +0100) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Fri, 21 Nov 2008 23:58:36 +0000 (00:58 +0100) |
src/configfile.c | patch | blob | history | |
src/plugin.c | patch | blob | history |
diff --git a/src/configfile.c b/src/configfile.c
index f9c20fc3116bed1f2f8a54b8fa87c4dc77da4a19..bdb63a9a86efdb3e658a7ca5d81b66778d9b3273 100644 (file)
--- a/src/configfile.c
+++ b/src/configfile.c
#include "configfile.h"
#include "types_list.h"
#include "utils_threshold.h"
+#include "filter_chain.h"
#if HAVE_WORDEXP_H
# include <wordexp.h>
return (dispatch_block_plugin (ci));
else if (strcasecmp (ci->key, "Threshold") == 0)
return (ut_config (ci));
+ else if (strcasecmp (ci->key, "Chain") == 0)
+ return (fc_configure (ci));
return (0);
}
diff --git a/src/plugin.c b/src/plugin.c
index f222e3acb01cd41f681618bf6507decaf797de4b..b00433623f9cd40c3fb66346abe794e64915714c 100644 (file)
--- a/src/plugin.c
+++ b/src/plugin.c
int success = 0;
int failure = 0;
- le = llist_head (list_write);
+ le = llist_head (list_flush);
while (le != NULL)
{
callback = le->value;
}
else /* plugin != NULL */
{
- le = llist_head (list_write);
+ le = llist_head (list_flush);
while (le != NULL)
{
if (strcasecmp (plugin, le->key) == 0)