summaryrefslogtreecommitdiffstats
path: root/plugins/check_http.c
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2012-07-18 21:39:05 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2012-07-18 21:39:05 (GMT)
commit3c10d84ea21c91c4f14cb241f5c7f24e4536476a (patch)
treecc9e51ffd7dc4a42e3dd635a1f29cc449af47918 /plugins/check_http.c
parentea595f1371820b79041af0a0fa52bd954ea35665 (diff)
downloadmonitoring-plugins-3c10d84ea21c91c4f14cb241f5c7f24e4536476a.tar.gz
check_http: Fix whitespace issues
In check_http.c, tabs aren't used for indentation.
Diffstat (limited to 'plugins/check_http.c')
-rw-r--r--plugins/check_http.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c
index 37cf01a..5c8a80c 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -284,18 +284,18 @@ process_arguments (int argc, char **argv)
284 case 'C': /* Check SSL cert validity */ 284 case 'C': /* Check SSL cert validity */
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 (temp))
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=',';
292 temp++; 292 temp++;
293 if (!is_intnonneg (temp)) 293 if (!is_intnonneg (temp))
294 usage2 (_("Invalid certificate expiration period"), temp); 294 usage2 (_("Invalid certificate expiration period"), temp);
295 days_till_exp_crit = atoi (temp); 295 days_till_exp_crit = atoi (temp);
296 } 296 }
297 else { 297 else {
298 days_till_exp_crit=0; 298 days_till_exp_crit=0;
299 if (!is_intnonneg (optarg)) 299 if (!is_intnonneg (optarg))
300 usage2 (_("Invalid certificate expiration period"), optarg); 300 usage2 (_("Invalid certificate expiration period"), optarg);
301 days_till_exp_warn = atoi (optarg); 301 days_till_exp_warn = atoi (optarg);