mirror of
https://github.com/curl/curl.git
synced 2026-08-26 04:13:31 +03:00
convert CURLFTPSSL_CCC_* to long constants
This commit is contained in:
parent
686d3fed2f
commit
144d201c23
6 changed files with 10 additions and 9 deletions
|
|
@ -63,7 +63,7 @@ int main(void)
|
|||
curl_easy_setopt(curl, CURLOPT_URL, "ftp://example.com/file.txt");
|
||||
curl_easy_setopt(curl, CURLOPT_USE_SSL, CURLUSESSL_CONTROL);
|
||||
/* go back to clear-text FTP after authenticating */
|
||||
curl_easy_setopt(curl, CURLOPT_FTP_SSL_CCC, (long)CURLFTPSSL_CCC_ACTIVE);
|
||||
curl_easy_setopt(curl, CURLOPT_FTP_SSL_CCC, CURLFTPSSL_CCC_ACTIVE);
|
||||
res = curl_easy_perform(curl);
|
||||
curl_easy_cleanup(curl);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue