summaryrefslogtreecommitdiff
path: root/docs/libcurl/opts/CURLOPT_USE_SSL.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/libcurl/opts/CURLOPT_USE_SSL.html')
-rw-r--r--docs/libcurl/opts/CURLOPT_USE_SSL.html4
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) {
&nbsp; curl_easy_setopt(curl, CURLOPT_URL, "<a href="ftp://example.com/dir/file.ext">ftp://example.com/dir/file.ext</a>");
-
+&nbsp;
&nbsp; /* require use of SSL for this, or fail */
&nbsp; curl_easy_setopt(curl, CURLOPT_USE_SSL, CURLUSESSL_ALL);
-
+&nbsp;
&nbsp; /* Perform the request */
&nbsp; curl_easy_perform(curl);
}