summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 130dd69)
raw | patch | inline | side by side (parent: 130dd69)
author | Jan Kundrát <jan.kundrat@cesnet.cz> | |
Tue, 11 Mar 2014 09:57:45 +0000 (10:57 +0100) | ||
committer | Jan Kundrát <jan.kundrat@cesnet.cz> | |
Tue, 11 Mar 2014 09:57:45 +0000 (10:57 +0100) |
src/threshold.c | patch | blob | history |
diff --git a/src/threshold.c b/src/threshold.c
index 7df4d616a977cb5ca53028c6808b08c1c580ba80..2173fa8084da10a7b04ada03c8695a4736f06bc7 100644 (file)
--- a/src/threshold.c
+++ b/src/threshold.c
if ((!isnan (th->warning_min) && (th->warning_min > values[ds_index]))
|| (!isnan (th->warning_max) && (th->warning_max < values[ds_index])))
is_warning++;
- }
+ }
if (is_failure != 0)
return (STATE_ERROR);