diff options
-rw-r--r-- | plugins/check_http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c index 8712079d..315848fc 100644 --- a/plugins/check_http.c +++ b/plugins/check_http.c @@ -295,7 +295,7 @@ process_arguments (int argc, char **argv) usage4 (_("Invalid option - SSL is not available")); #endif use_ssl = TRUE; - if (optarg == NULL) + if (optarg == NULL || c != 'S') ssl_version = 0; else { ssl_version = atoi(optarg); |