summaryrefslogtreecommitdiffstats
path: root/plugins/check_http.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_http.c')
-rw-r--r--plugins/check_http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c
index 5c8a80c6..63addfcc 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -285,7 +285,7 @@ process_arguments (int argc, char **argv)
285#ifdef HAVE_SSL 285#ifdef HAVE_SSL
286 if ((temp=strchr(optarg,','))!=NULL) { 286 if ((temp=strchr(optarg,','))!=NULL) {
287 *temp='\0'; 287 *temp='\0';
288 if (!is_intnonneg (temp)) 288 if (!is_intnonneg (optarg))
289 usage2 (_("Invalid certificate expiration period"), optarg); 289 usage2 (_("Invalid certificate expiration period"), optarg);
290 days_till_exp_warn = atoi(optarg); 290 days_till_exp_warn = atoi(optarg);
291 *temp=','; 291 *temp=',';