X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=docs%2Fexamples%2Fsimplessl.c;h=aefb79f624221944e566282d05a73b63e45f5056;hb=ff9f0eb35d80c251e9a54162eae18f44349ae59d;hp=74c58461a6dfefc51afa4763fce5bc33b2257621;hpb=d69d98bb1e0435e6d0a6358677725bd663f598c0;p=platform%2Fupstream%2Fcurl.git diff --git a/docs/examples/simplessl.c b/docs/examples/simplessl.c index 74c5846..aefb79f 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 */ {