summaryrefslogtreecommitdiffstats
path: root/plugins/t
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/t')
0 files changed, 0 insertions, 0 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c
index e6f88e9..b676eec 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -255,7 +255,7 @@ process_arguments (int argc, char **argv)
255 socket_timeout = atoi (optarg); 255 socket_timeout = atoi (optarg);
256 break; 256 break;
257 case 'c': /* critical time threshold */ 257 case 'c': /* critical time threshold */
258 if (!is_intnonneg (optarg)) 258 if (!is_nonnegative (optarg))
259 usage2 (_("invalid critical threshold"), optarg); 259 usage2 (_("invalid critical threshold"), optarg);
260 else { 260 else {
261 critical_time = strtod (optarg, NULL); 261 critical_time = strtod (optarg, NULL);
@@ -263,7 +263,7 @@ process_arguments (int argc, char **argv)
263 } 263 }
264 break; 264 break;
265 case 'w': /* warning time threshold */ 265 case 'w': /* warning time threshold */
266 if (!is_intnonneg (optarg)) 266 if (!is_nonnegative (optarg))
267 usage2 (_("invalid warning threshold"), optarg); 267 usage2 (_("invalid warning threshold"), optarg);
268 else { 268 else {
269 warning_time = strtod (optarg, NULL); 269 warning_time = strtod (optarg, NULL);