From 3ae2b6cd7ff6eda5c6856efb6b2cdf52b61e980c Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Sat, 5 Jul 2014 16:59:12 +0200 Subject: Update instances of some obsolete CURLOPTs to their new names --- docs/examples/simplessl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/examples/simplessl.c') diff --git a/docs/examples/simplessl.c b/docs/examples/simplessl.c index 74c58461a..aefb79f62 100644 --- a/docs/examples/simplessl.c +++ b/docs/examples/simplessl.c @@ -75,7 +75,7 @@ int main(void) if(curl) { /* what call to write: */ curl_easy_setopt(curl, CURLOPT_URL, "HTTPS://your.favourite.ssl.site"); - curl_easy_setopt(curl, CURLOPT_WRITEHEADER, headerfile); + curl_easy_setopt(curl, CURLOPT_HEADERDATA, headerfile); for(i = 0; i < 1; i++) /* single-iteration loop, just to break out from */ { -- cgit v1.2.3