diff options
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-11-19 06:45:18 +0000 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-11-19 06:45:18 +0000 |
commit | caa8bd6423e2d0d1b4e72c150e80b9c6a9e1b7fe (patch) | |
tree | 118fd80cc8ba27ef695a8e8ce409e5d70f4fa451 /lib/utils_base.c | |
parent | 16f53e0717b60660145388b0feb351628f606211 (diff) | |
download | monitoring-plugins-caa8bd6423e2d0d1b4e72c150e80b9c6a9e1b7fe.tar.gz |
Bulk EOL cleanup
$ git diff --ignore-space-change|diffstat
0 files changed
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2087 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'lib/utils_base.c')
-rw-r--r-- | lib/utils_base.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/utils_base.c b/lib/utils_base.c index d1453c67..68f45675 100644 --- a/lib/utils_base.c +++ b/lib/utils_base.c @@ -89,7 +89,7 @@ range set_range_end(temp_range, end); } - if (temp_range->start_infinity == TRUE || + if (temp_range->start_infinity == TRUE || temp_range->end_infinity == TRUE || temp_range->start <= temp_range->end) { return temp_range; @@ -164,7 +164,7 @@ check_range(double value, range *my_range) { int no = FALSE; int yes = TRUE; - + if (my_range->alert_on == INSIDE) { no = TRUE; yes = FALSE; |