diff options
author | Daniel Stenberg <daniel@haxx.se> | 2010-01-04 18:43:29 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2010-01-04 18:43:29 +0000 |
commit | 2e830066031e1aa1e6bc4bef8d02dd30bbde205a (patch) | |
tree | 01721606100330a843487223b8299dde2ac091df /docs | |
parent | fd903eb6bee230dd6751e144baa1eb4470cdf8a4 (diff) | |
download | curl-2e830066031e1aa1e6bc4bef8d02dd30bbde205a.tar.gz |
use the modern name for this option
Diffstat (limited to 'docs')
-rw-r--r-- | docs/examples/curlx.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) ; |