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:
025fa76
)
setopt() works with the new CURLOPT_HEADERFUNCTION:
author
Daniel Stenberg
<daniel@haxx.se>
Tue, 10 Apr 2001 06:51:25 +0000
(06:51 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Tue, 10 Apr 2001 06:51:25 +0000
(06:51 +0000)
lib/url.c
patch
|
blob
|
history
diff --git
a/lib/url.c
b/lib/url.c
index
5bb34be
..
8046958
100644
(file)
--- a/
lib/url.c
+++ b/
lib/url.c
@@
-719,6
+719,12
@@
CURLcode Curl_setopt(CURL *curl, CURLoption option, ...)
*/
data->err = va_arg(param, FILE *);
break;
+ case CURLOPT_HEADERFUNCTION:
+ /*
+ * Set header write callback
+ */
+ data->fwrite_header = va_arg(param, curl_write_callback);
+ break;
case CURLOPT_WRITEFUNCTION:
/*
* Set data write callback