mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
use the modern name for this option
This commit is contained in:
parent
fd903eb6be
commit
2e83006603
@ -453,7 +453,7 @@ int main(int argc, char **argv) {
|
|||||||
{
|
{
|
||||||
FILE *outfp;
|
FILE *outfp;
|
||||||
BIO_get_fp(out,&outfp);
|
BIO_get_fp(out,&outfp);
|
||||||
curl_easy_setopt(p.curl, CURLOPT_FILE,outfp);
|
curl_easy_setopt(p.curl, CURLOPT_WRITEDATA, outfp);
|
||||||
}
|
}
|
||||||
|
|
||||||
res = curl_easy_setopt(p.curl, CURLOPT_SSL_CTX_FUNCTION, sslctxfun) ;
|
res = curl_easy_setopt(p.curl, CURLOPT_SSL_CTX_FUNCTION, sslctxfun) ;
|
||||||
|
Loading…
Reference in New Issue
Block a user