diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_http.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c index 36f3b253..59755acd 100644 --- a/plugins/check_http.c +++ b/plugins/check_http.c | |||
@@ -1444,13 +1444,9 @@ redir (char *pos, char *status_line) | |||
1444 | i = server_port_check (use_ssl); | 1444 | i = server_port_check (use_ssl); |
1445 | } | 1445 | } |
1446 | else if (sscanf (pos, HD6, addr, url) == 2) { | 1446 | else if (sscanf (pos, HD6, addr, url) == 2) { |
1447 | //get type from | ||
1448 | if(use_ssl){ | 1447 | if(use_ssl){ |
1449 | //i = server_port_check (use_ssl); | ||
1450 | strcpy (type,"https"); | 1448 | strcpy (type,"https"); |
1451 | } | 1449 | } |
1452 | //else if(sscanf(server_url,URI_HTTP,type)==1 ){ | ||
1453 | //} | ||
1454 | else{ | 1450 | else{ |
1455 | strcpy (type, server_type); | 1451 | strcpy (type, server_type); |
1456 | } | 1452 | } |