summaryrefslogtreecommitdiff
path: root/docs/libcurl/opts/GNURLOPT_DNS_INTERFACE.3
diff options
context:
space:
mode:
Diffstat (limited to 'docs/libcurl/opts/GNURLOPT_DNS_INTERFACE.3')
-rw-r--r--docs/libcurl/opts/GNURLOPT_DNS_INTERFACE.34
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/libcurl/opts/GNURLOPT_DNS_INTERFACE.3 b/docs/libcurl/opts/GNURLOPT_DNS_INTERFACE.3
index 9d3426326..5ab359014 100644
--- a/docs/libcurl/opts/GNURLOPT_DNS_INTERFACE.3
+++ b/docs/libcurl/opts/GNURLOPT_DNS_INTERFACE.3
@@ -9,7 +9,7 @@
.\" *
.\" * This software is licensed as described in the file COPYING, which
.\" * you should have received as part of this distribution. The terms
-.\" * are also available at https://curl.haxx.se/docs/copyright.html.
+.\" * are also available at https://curl.se/docs/copyright.html.
.\" *
.\" * You may opt to use, copy, modify, merge, publish, distribute and/or sell
.\" * copies of the Software, and permit persons to whom the Software is
@@ -42,7 +42,7 @@ NULL
.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_DNS_INTERFACE, "eth0");
ret = curl_easy_perform(curl);
curl_easy_cleanup(curl);