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:
afbd5f9
)
example: use correct type (long) for CURLOPT_FOLLOWLOCATION
author
Dimitrios Siganos
<dimitris@siganos.org>
Wed, 2 Jul 2014 09:49:08 +0000
(11:49 +0200)
committer
Daniel Stenberg
<daniel@haxx.se>
Thu, 3 Jul 2014 20:47:28 +0000
(22:47 +0200)
docs/examples/href_extractor.c
patch
|
blob
|
history
diff --git
a/docs/examples/href_extractor.c
b/docs/examples/href_extractor.c
index
4b307a2
..
c11325d
100644
(file)
--- a/
docs/examples/href_extractor.c
+++ b/
docs/examples/href_extractor.c
@@
-74,7
+74,7
@@
int main(int argc, char *argv[])
curl_easy_setopt(curl, CURLOPT_URL, argv[1]);
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, write_callback);
curl_easy_setopt(curl, CURLOPT_WRITEDATA, hsp);
- curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
+ curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1
L
);
curl_easy_perform(curl);