diff options
Diffstat (limited to 'docs/libcurl/opts/CURLOPT_TRAILERFUNCTION.3')
-rw-r--r-- | docs/libcurl/opts/CURLOPT_TRAILERFUNCTION.3 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/libcurl/opts/CURLOPT_TRAILERFUNCTION.3 b/docs/libcurl/opts/CURLOPT_TRAILERFUNCTION.3 index 1b55e1d5b..ab6198c6f 100644 --- a/docs/libcurl/opts/CURLOPT_TRAILERFUNCTION.3 +++ b/docs/libcurl/opts/CURLOPT_TRAILERFUNCTION.3 @@ -73,7 +73,7 @@ static int trailer_cb(struct curl_slist **tr, void *data) CURL *curl = curl_easy_init(); if(curl) { /* Set the URL of the request */ - curl_easy_setopt(curl, CURLOPT_URL, "http://example.com/"); + curl_easy_setopt(curl, CURLOPT_URL, "https://example.com/"); /* Now set it as a put */ curl_easy_setopt(curl, CURLOPT_PUT, 1L); |