From c74cb59e0843144ada7ad5e5b90303a66bb27c44 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 12 Aug 2002 11:36:48 +0000 Subject: [PATCH] added comment about CURLOPT_WRITEDATA for directing contents somewhere --- docs/examples/sepheaders.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/examples/sepheaders.c b/docs/examples/sepheaders.c index 40110ce95..3f4eb5cf4 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); -- 2.34.1