reverted hostname in URL, must use CURL_RESOLVE mayabe

This commit is contained in:
Andreas Baumann 2017-04-24 02:55:11 -04:00 committed by Sven Nierlein
parent 7c74b772ed
commit ac08e9b275

View file

@ -327,7 +327,7 @@ check_http (void)
snprintf (url, DEFAULT_BUFFER_SIZE, "%s://%s%s", use_ssl ? "https" : "http",
host_name, server_url);
handle_curl_option_return_code (curl_easy_setopt (curl, CURLOPT_URL, url), "CURLOPT_URL");
/* set port */
handle_curl_option_return_code (curl_easy_setopt (curl, CURLOPT_PORT, server_port), "CURLOPT_PORT");