summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCameron Will <cameron@thewills.email>2022-01-10 21:39:42 -0500
committerJay Satiro <raysatiro@yahoo.com>2022-01-10 22:23:57 -0500
commitce5463e60c8957fd4ee41266e38c4452b3e91746 (patch)
tree35545982b58991c021fd884ce4c5cd5c7835dc10
parente1e9d5af735fca7685b5a9f5b17d5e95a0c17ea4 (diff)
downloadcurl-ce5463e60c8957fd4ee41266e38c4452b3e91746.tar.gz
CURLOPT_RESOLVE.3: change example port to 443
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
-rw-r--r--docs/libcurl/opts/CURLOPT_RESOLVE.32
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/libcurl/opts/CURLOPT_RESOLVE.3 b/docs/libcurl/opts/CURLOPT_RESOLVE.3
index 33ef90385..d72dadd00 100644
--- a/docs/libcurl/opts/CURLOPT_RESOLVE.3
+++ b/docs/libcurl/opts/CURLOPT_RESOLVE.3
@@ -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) {