diff options
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 d1453c6..68f4567 100644 --- a/lib/utils_base.c +++ b/lib/utils_base.c | |||
@@ -89,7 +89,7 @@ range | |||
89 | set_range_end(temp_range, end); | 89 | set_range_end(temp_range, end); |
90 | } | 90 | } |
91 | 91 | ||
92 | if (temp_range->start_infinity == TRUE || | 92 | if (temp_range->start_infinity == TRUE || |
93 | temp_range->end_infinity == TRUE || | 93 | temp_range->end_infinity == TRUE || |
94 | temp_range->start <= temp_range->end) { | 94 | temp_range->start <= temp_range->end) { |
95 | return temp_range; | 95 | return temp_range; |
@@ -164,7 +164,7 @@ check_range(double value, range *my_range) | |||
164 | { | 164 | { |
165 | int no = FALSE; | 165 | int no = FALSE; |
166 | int yes = TRUE; | 166 | int yes = TRUE; |
167 | 167 | ||
168 | if (my_range->alert_on == INSIDE) { | 168 | if (my_range->alert_on == INSIDE) { |
169 | no = TRUE; | 169 | no = TRUE; |
170 | yes = FALSE; | 170 | yes = FALSE; |