Skip to content
Snippets Groups Projects
Commit c74cb59e authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

added comment about CURLOPT_WRITEDATA for directing contents somewhere

parent c1f29a8e
No related branches found
No related tags found
No related merge requests found
......@@ -63,6 +63,10 @@ int main(int argc, char **argv)
/* we want the headers to this file handle */
curl_easy_setopt(curl_handle, CURLOPT_WRITEHEADER ,headerfile);
/*
* Notice here that if you want the actual data sent anywhere else but
* stdout, you should consider using the CURLOPT_WRITEDATA option. */
/* get it! */
curl_easy_perform(curl_handle);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment