summaryrefslogtreecommitdiff
path: root/docs/libcurl/opts/GNURLINFO_ACTIVESOCKET.3
diff options
context:
space:
mode:
Diffstat (limited to 'docs/libcurl/opts/GNURLINFO_ACTIVESOCKET.3')
-rw-r--r--docs/libcurl/opts/GNURLINFO_ACTIVESOCKET.34
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/libcurl/opts/GNURLINFO_ACTIVESOCKET.3 b/docs/libcurl/opts/GNURLINFO_ACTIVESOCKET.3
index 3a3d54fa3..601e5d572 100644
--- a/docs/libcurl/opts/GNURLINFO_ACTIVESOCKET.3
+++ b/docs/libcurl/opts/GNURLINFO_ACTIVESOCKET.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
@@ -47,7 +47,7 @@ All
CURL *curl = curl_easy_init();
if(curl) {
curl_socket_t sockfd;
- curl_easy_setopt(curl, CURLOPT_URL, "http://example.com");
+ curl_easy_setopt(curl, CURLOPT_URL, "https://example.com");
/* Do not do the transfer - only connect to host */
curl_easy_setopt(curl, CURLOPT_CONNECT_ONLY, 1L);