diff options
Diffstat (limited to 'plugins/check_tcp.c')
| -rw-r--r-- | plugins/check_tcp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c index 49a8c4c1..924322e4 100644 --- a/plugins/check_tcp.c +++ b/plugins/check_tcp.c | |||
| @@ -562,7 +562,7 @@ static check_tcp_config_wrapper process_arguments(int argc, char **argv, check_t | |||
| 562 | int option_index = | 562 | int option_index = |
| 563 | getopt_long(argc, argv, "+hVv46EAH:s:e:q:m:c:w:t:p:C:W:d:Sr:jD:M:", longopts, &option); | 563 | getopt_long(argc, argv, "+hVv46EAH:s:e:q:m:c:w:t:p:C:W:d:Sr:jD:M:", longopts, &option); |
| 564 | 564 | ||
| 565 | if (option_index == -1 || option_index == EOF || option_index == 1) { | 565 | if (CHECK_EOF(option_index) || option_index == 1) { |
| 566 | break; | 566 | break; |
| 567 | } | 567 | } |
| 568 | 568 | ||
| @@ -683,7 +683,7 @@ static check_tcp_config_wrapper process_arguments(int argc, char **argv, check_t | |||
| 683 | break; | 683 | break; |
| 684 | case 'D': /* Check SSL cert validity - days 'til certificate expiration */ | 684 | case 'D': /* Check SSL cert validity - days 'til certificate expiration */ |
| 685 | #ifdef HAVE_SSL | 685 | #ifdef HAVE_SSL |
| 686 | # ifdef USE_OPENSSL /* XXX */ | 686 | # ifdef MOPL_USE_OPENSSL /* XXX */ |
| 687 | { | 687 | { |
| 688 | char *temp; | 688 | char *temp; |
| 689 | if ((temp = strchr(optarg, ',')) != NULL) { | 689 | if ((temp = strchr(optarg, ',')) != NULL) { |
| @@ -708,7 +708,7 @@ static check_tcp_config_wrapper process_arguments(int argc, char **argv, check_t | |||
| 708 | config.check_cert = true; | 708 | config.check_cert = true; |
| 709 | config.use_tls = true; | 709 | config.use_tls = true; |
| 710 | } break; | 710 | } break; |
| 711 | # endif /* USE_OPENSSL */ | 711 | # endif /* MOPL_USE_OPENSSL */ |
| 712 | #endif | 712 | #endif |
| 713 | /* fallthrough if we don't have ssl */ | 713 | /* fallthrough if we don't have ssl */ |
| 714 | case 'S': | 714 | case 'S': |
