Module: monitoring-plugins Branch: master Commit: d57d2b0bdda192dc50e17ebeb8becfe249c3f8e3 Author: Eric Wunderlin <wunde...@umn.edu> Committer: Sven Nierlein <s...@nierlein.org> Date: Tue Apr 12 09:00:08 2016 -0500 URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=d57d2b0
Remove unused code --- plugins/check_http.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/plugins/check_http.c b/plugins/check_http.c index 36f3b25..59755ac 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); }