diff options
-rw-r--r-- | plugins/check_http.c | 2 |
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) | |||
317 | /* Note: H, I, and u must be malloc'd or will fail on redirects */ | 317 | /* Note: H, I, and u must be malloc'd or will fail on redirects */ |
318 | case 'H': /* Host Name (virtual host) */ | 318 | case 'H': /* Host Name (virtual host) */ |
319 | host_name = strdup (optarg); | 319 | host_name = strdup (optarg); |
320 | if (strstr (optarg, ":")) | ||
321 | sscanf (optarg, "%*[^:]:%d", &server_port); | ||
322 | break; | 320 | break; |
323 | case 'I': /* Server IP-address */ | 321 | case 'I': /* Server IP-address */ |
324 | server_address = strdup (optarg); | 322 | server_address = strdup (optarg); |