diff options
| author | Holger Weiss <holger@zedat.fu-berlin.de> | 2012-07-18 23:39:05 +0200 |
|---|---|---|
| committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2012-07-18 23:39:05 +0200 |
| commit | 3c10d84ea21c91c4f14cb241f5c7f24e4536476a (patch) | |
| tree | cc9e51ffd7dc4a42e3dd635a1f29cc449af47918 /plugins | |
| parent | ea595f1371820b79041af0a0fa52bd954ea35665 (diff) | |
| download | monitoring-plugins-3c10d84ea21c91c4f14cb241f5c7f24e4536476a.tar.gz | |
check_http: Fix whitespace issues
In check_http.c, tabs aren't used for indentation.
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/check_http.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c index 37cf01ad..5c8a80c6 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); |
