summaryrefslogtreecommitdiffstats
path: root/plugins/t
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/t')
0 files changed, 0 insertions, 0 deletions
diff --git a/plugins/check_curl.c b/plugins/check_curl.c
index daf64b0..ba08c36 100644
--- a/plugins/check_curl.c
+++ b/plugins/check_curl.c
@@ -1106,8 +1106,8 @@ redir (curlhelp_write_curlbuf* header_buf)
1106 !strncmp(server_address, new_host, MAX_IPV4_HOSTLENGTH) && 1106 !strncmp(server_address, new_host, MAX_IPV4_HOSTLENGTH) &&
1107 (host_name && !strncmp(host_name, new_host, MAX_IPV4_HOSTLENGTH)) && 1107 (host_name && !strncmp(host_name, new_host, MAX_IPV4_HOSTLENGTH)) &&
1108 !strcmp(server_url, new_url)) 1108 !strcmp(server_url, new_url))
1109 die (STATE_WARNING, 1109 die (STATE_CRITICAL,
1110 _("HTTP WARNING - redirection creates an infinite loop - %s://%s:%d%s%s\n"), 1110 _("HTTP CRITICAL - redirection creates an infinite loop - %s://%s:%d%s%s\n"),
1111 use_ssl ? "https" : "http", new_host, new_port, new_url, (display_html ? "</A>" : "")); 1111 use_ssl ? "https" : "http", new_host, new_port, new_url, (display_html ? "</A>" : ""));
1112 1112
1113 /* set new values for redirected request */ 1113 /* set new values for redirected request */