use the modern name for this option

This commit is contained in:
Daniel Stenberg 2010-01-04 18:43:29 +00:00
parent fd903eb6be
commit 2e83006603
1 changed files with 1 additions and 1 deletions

View File

@ -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) ;