aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar Eric Wunderlin <wunde005@umn.edu> 2016-04-12 09:00:08 -0500
committerGravatar Sven Nierlein <sven@nierlein.org> 2022-09-18 20:42:26 +0200
commitd57d2b0bdda192dc50e17ebeb8becfe249c3f8e3 (patch)
tree40d2e45e09b106be33c690b5e7dd371434d9a6a6 /plugins
parent8f54442c68cf5bfaffc33b8e618462e82771478b (diff)
downloadmonitoring-plugins-d57d2b0bdda192dc50e17ebeb8becfe249c3f8e3.tar.gz
Remove unused code
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_http.c4
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)
i = server_port_check (use_ssl);
}
else if (sscanf (pos, HD6, addr, url) == 2) {
- //get type from
if(use_ssl){
- //i = server_port_check (use_ssl);
strcpy (type,"https");
}
- //else if(sscanf(server_url,URI_HTTP,type)==1 ){
- //}
else{
strcpy (type, server_type);
}