projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Removed bogus checking in ut_config.
[collectd.git]
/
src
/
threshold.c
diff --git
a/src/threshold.c
b/src/threshold.c
index
277b453
..
7bbc59e
100644
(file)
--- a/
src/threshold.c
+++ b/
src/threshold.c
@@
-520,13
+520,6
@@
int ut_config (oconfig_item_t *ci)
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);