summaryrefslogtreecommitdiff
path: root/docs/libcurl/opts/CURLOPT_LOCALPORT.3
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-09-16 23:04:07 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-09-17 16:28:18 +0200
commit83cc96670811cd0e6cccbf78d2b21bbeb2e4ea45 (patch)
tree8d6e76613f55ce8c1982e5704b1ee63e1903cff4 /docs/libcurl/opts/CURLOPT_LOCALPORT.3
parentcd048aaa2838d6dbf54e19a2cdc4552ae227bf27 (diff)
downloadcurl-83cc96670811cd0e6cccbf78d2b21bbeb2e4ea45.tar.gz
man pages: switch to https://example.com URLs
Since HTTPS is "the new normal", this update changes a lot of man page examples to use https://example.com instead of the previous "http://..." Closes #5969
Diffstat (limited to 'docs/libcurl/opts/CURLOPT_LOCALPORT.3')
-rw-r--r--docs/libcurl/opts/CURLOPT_LOCALPORT.32
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/libcurl/opts/CURLOPT_LOCALPORT.3 b/docs/libcurl/opts/CURLOPT_LOCALPORT.3
index 007aa6338..319749729 100644
--- a/docs/libcurl/opts/CURLOPT_LOCALPORT.3
+++ b/docs/libcurl/opts/CURLOPT_LOCALPORT.3
@@ -40,7 +40,7 @@ All
.nf
CURL *curl = curl_easy_init();
if(curl) {
- curl_easy_setopt(curl, CURLOPT_URL, "http://example.com/foo.bin");
+ curl_easy_setopt(curl, CURLOPT_URL, "https://example.com/foo.bin");
curl_easy_setopt(curl, CURLOPT_LOCALPORT, 49152L);
/* and try 20 more ports following that */
curl_easy_setopt(curl, CURLOPT_LOCALPORTRANGE, 20L);