aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-08-12 11:36:48 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-08-12 11:36:48 +0000
commitc74cb59e0843144ada7ad5e5b90303a66bb27c44 (patch)
tree19f86cdc5eec5ad80a8854ea5b1b861a77f7e47c
parentc1f29a8e08efb4db7e33c44a1a29e49dd24ce4dc (diff)
added comment about CURLOPT_WRITEDATA for directing contents somewhere
-rw-r--r--docs/examples/sepheaders.c4
1 files changed, 4 insertions, 0 deletions
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);