diff options
author | Eric Wunderlin <wunde005@umn.edu> | 2016-04-12 09:00:08 -0500 |
---|---|---|
committer | Sven Nierlein <sven@nierlein.org> | 2022-09-18 20:42:26 +0200 |
commit | d57d2b0bdda192dc50e17ebeb8becfe249c3f8e3 (patch) | |
tree | 40d2e45e09b106be33c690b5e7dd371434d9a6a6 | |
parent | 8f54442c68cf5bfaffc33b8e618462e82771478b (diff) | |
download | monitoring-plugins-d57d2b0bdda192dc50e17ebeb8becfe249c3f8e3.tar.gz |
Remove unused code
-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 | } |