aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/check_http.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c
index bec02e1a..9fb7aea4 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -317,8 +317,6 @@ process_arguments (int argc, char **argv)
/* Note: H, I, and u must be malloc'd or will fail on redirects */
case 'H': /* Host Name (virtual host) */
host_name = strdup (optarg);
- if (strstr (optarg, ":"))
- sscanf (optarg, "%*[^:]:%d", &server_port);
break;
case 'I': /* Server IP-address */
server_address = strdup (optarg);