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 58f454b..637e9ba 100644
--- a/plugins/check_curl.c
+++ b/plugins/check_curl.c
@@ -368,7 +368,7 @@ check_http (void)
368 /* compose URL: use the address we want to connect to, set Host: header later */ 368 /* compose URL: use the address we want to connect to, set Host: header later */
369 snprintf (url, DEFAULT_BUFFER_SIZE, "%s://%s:%d%s", 369 snprintf (url, DEFAULT_BUFFER_SIZE, "%s://%s:%d%s",
370 use_ssl ? "https" : "http", 370 use_ssl ? "https" : "http",
371 server_address, 371 use_ssl ? host_name : server_address,
372 server_port, 372 server_port,
373 server_url 373 server_url
374 ); 374 );