diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-04-10 06:51:25 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-04-10 06:51:25 +0000 |
commit | 90bb87b40eb935e6cc833b677abec4cabe06c884 (patch) | |
tree | 4fa4f18a096fa9a8abf3f9838d555f8bb2b34f0f /lib | |
parent | 025fa762f644c9c1438c6669c4fe3e1800a112b5 (diff) |
setopt() works with the new CURLOPT_HEADERFUNCTION:
Diffstat (limited to 'lib')
-rw-r--r-- | lib/url.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |