diff options
Diffstat (limited to 'docs/libcurl/opts/CURLOPT_USE_SSL.html')
-rw-r--r-- | docs/libcurl/opts/CURLOPT_USE_SSL.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/libcurl/opts/CURLOPT_USE_SSL.html b/docs/libcurl/opts/CURLOPT_USE_SSL.html index 6dcf53ed..5f849dc7 100644 --- a/docs/libcurl/opts/CURLOPT_USE_SSL.html +++ b/docs/libcurl/opts/CURLOPT_USE_SSL.html @@ -71,10 +71,10 @@ p.roffit { CURL *curl = curl_easy_init(); if(curl) { curl_easy_setopt(curl, CURLOPT_URL, "<a href="ftp://example.com/dir/file.ext">ftp://example.com/dir/file.ext</a>"); - + /* require use of SSL for this, or fail */ curl_easy_setopt(curl, CURLOPT_USE_SSL, CURLUSESSL_ALL); - + /* Perform the request */ curl_easy_perform(curl); } |