aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_curl.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_curl.c')
-rw-r--r--plugins/check_curl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/check_curl.c b/plugins/check_curl.c
index 61bfd786..aa17d84d 100644
--- a/plugins/check_curl.c
+++ b/plugins/check_curl.c
@@ -1012,8 +1012,6 @@ redir (curlhelp_write_curlbuf* header_buf)
* the original URL, so wy try to form a new absolute URL here
*/
if (!uri.scheme.first && !uri.hostText.first) {
- /* TODO: implement */
- die (STATE_UNKNOWN, _("HTTP UNKNOWN - non-absolute location, not implemented yet!\n"));
new_host = strdup (host_name ? host_name : server_address);
} else {
new_host = strdup (uri_string (uri.hostText, buf, DEFAULT_BUFFER_SIZE));