]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
CURLOPT_RESOLVE.3: change example port to 443
authorCameron Will <cameron@thewills.email>
Tue, 11 Jan 2022 02:39:42 +0000 (21:39 -0500)
committerJay Satiro <raysatiro@yahoo.com>
Tue, 11 Jan 2022 03:23:57 +0000 (22:23 -0500)
83cc966 changed documentation from using http to https. However,
CURLOPT_RESOLVE being set to port 80 in the documentation means that it
isn't valid for the new URL. Update to 443.

Closes https://github.com/curl/curl/pull/8258

docs/libcurl/opts/CURLOPT_RESOLVE.3

index 33ef90385f08378c11f483178f0ae9a313646b1f..d72dadd0014de99691c93667fa97cc99ed768fc8 100644 (file)
@@ -79,7 +79,7 @@ All
 .nf
 CURL *curl;
 struct curl_slist *host = NULL;
-host = curl_slist_append(NULL, "example.com:80:127.0.0.1");
+host = curl_slist_append(NULL, "example.com:443:127.0.0.1");
 
 curl = curl_easy_init();
 if(curl) {