diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2014-07-05 16:59:12 +0200 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2014-07-05 22:47:13 +0200 |
commit | 3ae2b6cd7ff6eda5c6856efb6b2cdf52b61e980c (patch) | |
tree | 2a7ed6b30ce8ec8fc1366f7f39333124f6c8fe10 /docs/libcurl | |
parent | 8ffe6f5b5761aa77b3e5eae236475b173e9efd2f (diff) |
Update instances of some obsolete CURLOPTs to their new names
Diffstat (limited to 'docs/libcurl')
-rw-r--r-- | docs/libcurl/libcurl-tutorial.3 | 2 | ||||
-rw-r--r-- | docs/libcurl/libcurl.m4 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/libcurl/libcurl-tutorial.3 b/docs/libcurl/libcurl-tutorial.3 index e862758ac..018001d7e 100644 --- a/docs/libcurl/libcurl-tutorial.3 +++ b/docs/libcurl/libcurl-tutorial.3 @@ -1058,7 +1058,7 @@ to 1. What might be even more useful, is libcurl's ability to separate the headers from the data and thus make the callbacks differ. You can for example set a different pointer to pass to the ordinary write callback by setting -\fICURLOPT_WRITEHEADER(3)\fP. +\fICURLOPT_HEADERDATA(3)\fP. Or, you can set an entirely separate function to receive the headers, by using \fICURLOPT_HEADERFUNCTION(3)\fP. diff --git a/docs/libcurl/libcurl.m4 b/docs/libcurl/libcurl.m4 index d7d5a5259..a84077a5e 100644 --- a/docs/libcurl/libcurl.m4 +++ b/docs/libcurl/libcurl.m4 @@ -153,7 +153,7 @@ int x; curl_easy_setopt(NULL,CURLOPT_URL,NULL); x=CURL_ERROR_SIZE; x=CURLOPT_WRITEFUNCTION; -x=CURLOPT_FILE; +x=CURLOPT_WRITEDATA; x=CURLOPT_ERRORBUFFER; x=CURLOPT_STDERR; x=CURLOPT_VERBOSE; |