Skip to content
Snippets Groups Projects
Commit 2e830066 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

use the modern name for this option

parent fd903eb6
No related branches found
No related tags found
No related merge requests found
......@@ -453,7 +453,7 @@ int main(int argc, char **argv) {
{
FILE *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) ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment