From: Daniel Stenberg Date: Mon, 4 Jan 2010 18:43:29 +0000 (+0000) Subject: use the modern name for this option X-Git-Tag: curl-7_20_0~180 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2e830066031e1aa1e6bc4bef8d02dd30bbde205a;p=curl use the modern name for this option --- diff --git a/docs/examples/curlx.c b/docs/examples/curlx.c index 09d27cc97..9b1c29158 100644 --- a/docs/examples/curlx.c +++ b/docs/examples/curlx.c @@ -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) ;