summaryrefslogtreecommitdiffstats
path: root/plugins/check_http.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_http.c')
-rw-r--r--plugins/check_http.c2
1 files changed, 1 insertions, 1 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);