From: Daniel Stenberg Date: Mon, 12 Aug 2002 11:36:48 +0000 (+0000) Subject: added comment about CURLOPT_WRITEDATA for directing contents somewhere X-Git-Tag: curl-7_10~113 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c74cb59e0843144ada7ad5e5b90303a66bb27c44;p=thirdparty%2Fcurl.git added comment about CURLOPT_WRITEDATA for directing contents somewhere --- diff --git a/docs/examples/sepheaders.c b/docs/examples/sepheaders.c index 40110ce951..3f4eb5cf40 100644 --- a/docs/examples/sepheaders.c +++ b/docs/examples/sepheaders.c @@ -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);