summaryrefslogtreecommitdiff
path: root/docs/libcurl/opts/CURLINFO_PRIMARY_IP.3
diff options
context:
space:
mode:
Diffstat (limited to 'docs/libcurl/opts/CURLINFO_PRIMARY_IP.3')
-rw-r--r--docs/libcurl/opts/CURLINFO_PRIMARY_IP.32
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/libcurl/opts/CURLINFO_PRIMARY_IP.3 b/docs/libcurl/opts/CURLINFO_PRIMARY_IP.3
index 05256d8ea..3f6bc2070 100644
--- a/docs/libcurl/opts/CURLINFO_PRIMARY_IP.3
+++ b/docs/libcurl/opts/CURLINFO_PRIMARY_IP.3
@@ -44,7 +44,7 @@ All network based ones
{
char *ip;
- curl_easy_setopt(curl, CURLOPT_URL, "http://example.com");
+ curl_easy_setopt(curl, CURLOPT_URL, "https://example.com");
/* Perform the request, res will get the return code */
res = curl_easy_perform(curl);