summaryrefslogtreecommitdiffstats
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, 1 insertions, 1 deletions
diff --git a/plugins/check_curl.c b/plugins/check_curl.c
index babbcd5..de105fb 100644
--- a/plugins/check_curl.c
+++ b/plugins/check_curl.c
@@ -328,7 +328,7 @@ check_http (void)
328 328
329 /* compose URL */ 329 /* compose URL */
330 snprintf (url, DEFAULT_BUFFER_SIZE, "%s://%s%s", use_ssl ? "https" : "http", 330 snprintf (url, DEFAULT_BUFFER_SIZE, "%s://%s%s", use_ssl ? "https" : "http",
331 host_name ? host_name : server_address, server_url); 331 server_address ? server_address : host_name, server_url);
332 handle_curl_option_return_code (curl_easy_setopt (curl, CURLOPT_URL, url), "CURLOPT_URL"); 332 handle_curl_option_return_code (curl_easy_setopt (curl, CURLOPT_URL, url), "CURLOPT_URL");
333 333
334 /* set port */ 334 /* set port */