diff options
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 8712079..315848f 100644 --- a/plugins/check_http.c +++ b/plugins/check_http.c | |||
@@ -295,7 +295,7 @@ process_arguments (int argc, char **argv) | |||
295 | usage4 (_("Invalid option - SSL is not available")); | 295 | usage4 (_("Invalid option - SSL is not available")); |
296 | #endif | 296 | #endif |
297 | use_ssl = TRUE; | 297 | use_ssl = TRUE; |
298 | if (optarg == NULL) | 298 | if (optarg == NULL || c != 'S') |
299 | ssl_version = 0; | 299 | ssl_version = 0; |
300 | else { | 300 | else { |
301 | ssl_version = atoi(optarg); | 301 | ssl_version = atoi(optarg); |