summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 414723e)
raw | patch | inline | side by side (parent: 414723e)
author | Andres J. Diaz <ajdiaz@connectical.com> | |
Tue, 1 Mar 2011 16:25:22 +0000 (17:25 +0100) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Tue, 8 Mar 2011 08:42:51 +0000 (09:42 +0100) |
Since threshold is a plugin, the main config block (<Plugin "threshold">)
cannot contain only one keyword (as was mandatory in previous versions),
so checking must be removed.
Signed-off-by: Andres J. Diaz <ajdiaz@connectical.com>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
cannot contain only one keyword (as was mandatory in previous versions),
so checking must be removed.
Signed-off-by: Andres J. Diaz <ajdiaz@connectical.com>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
src/threshold.c | patch | blob | history |
diff --git a/src/threshold.c b/src/threshold.c
index 277b45385d0b454e26d230203d5b1326734d4f6d..7bbc59ef011a5f4a597b524f54a10852f1b725bf 100644 (file)
--- a/src/threshold.c
+++ b/src/threshold.c
threshold_t th;
- if (ci->values_num != 0)
- {
- ERROR ("threshold values: The `Threshold' block may not have any "
- "arguments.");
- return (-1);
- }
-
if (threshold_tree == NULL)
{
threshold_tree = c_avl_create ((void *) strcmp);