Skip to content
Snippets Groups Projects
Commit 90bb87b4 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

setopt() works with the new CURLOPT_HEADERFUNCTION:

parent 025fa762
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment