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
This commit is contained in:
Cameron Will 2022-01-10 21:39:42 -05:00 committed by Jay Satiro
parent e1e9d5af73
commit ce5463e60c

View 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) {