drop cast for CURLUSESSL_ALL docs, for consistency

This commit is contained in:
Viktor Szakats 2025-07-01 15:23:07 +02:00
parent 68fddcfea2
commit 523ed3a633
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -71,7 +71,7 @@ int main(void)
curl_easy_setopt(curl, CURLOPT_URL, "ftp://example.com/dir/file.ext");
/* require use of SSL for this, or fail */
curl_easy_setopt(curl, CURLOPT_USE_SSL, (long)CURLUSESSL_ALL);
curl_easy_setopt(curl, CURLOPT_USE_SSL, CURLUSESSL_ALL);
/* Perform the request */
curl_easy_perform(curl);