diff options
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 050c0d4..87fa1da 100644 --- a/plugins/check_curl.c +++ b/plugins/check_curl.c | |||
@@ -325,9 +325,9 @@ check_http (void) | |||
325 | 325 | ||
326 | /* compose URL */ | 326 | /* compose URL */ |
327 | snprintf (url, DEFAULT_BUFFER_SIZE, "%s://%s%s", use_ssl ? "https" : "http", | 327 | snprintf (url, DEFAULT_BUFFER_SIZE, "%s://%s%s", use_ssl ? "https" : "http", |
328 | server_address, server_url); | 328 | host_name, server_url); |
329 | handle_curl_option_return_code (curl_easy_setopt (curl, CURLOPT_URL, url), "CURLOPT_URL"); | 329 | handle_curl_option_return_code (curl_easy_setopt (curl, CURLOPT_URL, url), "CURLOPT_URL"); |
330 | 330 | ||
331 | /* set port */ | 331 | /* set port */ |
332 | handle_curl_option_return_code (curl_easy_setopt (curl, CURLOPT_PORT, server_port), "CURLOPT_PORT"); | 332 | handle_curl_option_return_code (curl_easy_setopt (curl, CURLOPT_PORT, server_port), "CURLOPT_PORT"); |
333 | 333 | ||