projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1f29a8
)
added comment about CURLOPT_WRITEDATA for directing contents somewhere
author
Daniel Stenberg
<daniel@haxx.se>
Mon, 12 Aug 2002 11:36:48 +0000
(11:36 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Mon, 12 Aug 2002 11:36:48 +0000
(11:36 +0000)
docs/examples/sepheaders.c
patch
|
blob
|
history
diff --git
a/docs/examples/sepheaders.c
b/docs/examples/sepheaders.c
index 40110ce951d24e5c3520fb9201c37c0fdf1630b9..3f4eb5cf40ad93ce33f0167e721ffb01e5a6499c 100644
(file)
--- 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);