aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/usercertinmem.c
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2014-07-05 16:59:12 +0200
committerDan Fandrich <dan@coneharvesters.com>2014-07-05 22:47:13 +0200
commit3ae2b6cd7ff6eda5c6856efb6b2cdf52b61e980c (patch)
tree2a7ed6b30ce8ec8fc1366f7f39333124f6c8fe10 /docs/examples/usercertinmem.c
parent8ffe6f5b5761aa77b3e5eae236475b173e9efd2f (diff)
Update instances of some obsolete CURLOPTs to their new names
Diffstat (limited to 'docs/examples/usercertinmem.c')
-rw-r--r--docs/examples/usercertinmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/usercertinmem.c b/docs/examples/usercertinmem.c
index 36c1c9064..dd56c6167 100644
--- a/docs/examples/usercertinmem.c
+++ b/docs/examples/usercertinmem.c
@@ -184,7 +184,7 @@ int main(void)
rv = curl_easy_setopt(ch,CURLOPT_WRITEFUNCTION, *writefunction);
rv = curl_easy_setopt(ch,CURLOPT_WRITEDATA, stdout);
rv = curl_easy_setopt(ch,CURLOPT_HEADERFUNCTION, *writefunction);
- rv = curl_easy_setopt(ch,CURLOPT_WRITEHEADER, stderr);
+ rv = curl_easy_setopt(ch,CURLOPT_HEADERDATA, stderr);
rv = curl_easy_setopt(ch,CURLOPT_SSLCERTTYPE,"PEM");
/* both VERIFYPEER and VERIFYHOST are set to 0 in this case because there is