summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 59ede0a)
raw | patch | inline | side by side (parent: 59ede0a)
author | Florian Forster <octo@huhu.verplant.org> | |
Tue, 13 May 2008 10:08:14 +0000 (12:08 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Tue, 13 May 2008 10:08:14 +0000 (12:08 +0200) |
Thanks to `kyrone' for pointing this out.
src/utils_threshold.c | patch | blob | history |
diff --git a/src/utils_threshold.c b/src/utils_threshold.c
index 6c131ba62644c3c9f99228e53b812a5fb6ade513..b4fb8554d29df5f9e42c0ac937333878d05193ae 100644 (file)
--- a/src/utils_threshold.c
+++ b/src/utils_threshold.c
if (strcasecmp ("Instance", option->key) == 0)
status = ut_config_type_instance (&th, option);
- if (strcasecmp ("DataSource", option->key) == 0)
+ else if (strcasecmp ("DataSource", option->key) == 0)
status = ut_config_type_datasource (&th, option);
else if ((strcasecmp ("WarningMax", option->key) == 0)
|| (strcasecmp ("FailureMax", option->key) == 0))