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:
751e49f
)
Jon Topper pointed out a code example bug
author
Daniel Stenberg
<daniel@haxx.se>
Mon, 2 Sep 2002 08:38:30 +0000
(08:38 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Mon, 2 Sep 2002 08:38:30 +0000
(08:38 +0000)
docs/libcurl-the-guide
patch
|
blob
|
history
diff --git
a/docs/libcurl-the-guide
b/docs/libcurl-the-guide
index
a196d8e
..
f091dfe
100644
(file)
--- a/
docs/libcurl-the-guide
+++ b/
docs/libcurl-the-guide
@@
-753,7
+753,7
@@
Customizing Operations
request, and you're free to pass any amount of extra headers that you think
fit. Adding headers are this easy:
- struct curl_slist *headers
;
+ struct curl_slist *headers
=NULL; /* init to NULL is important */
headers = curl_slist_append(headers, "Hey-server-hey: how are you?");
headers = curl_slist_append(headers, "X-silly-content: yes");