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

corrected the comment for CURLOPT_WRITEHEADER in setopt(), and made it

read a void * and not a FILE *, as that was how it used to work and not
anymore...
parent 1813d2dd
No related branches found
No related tags found
No related merge requests found
......@@ -480,9 +480,9 @@ CURLcode Curl_setopt(CURL *curl, CURLoption option, ...)
break;
case CURLOPT_WRITEHEADER:
/*
* Callback function for header data
* Custom pointer to pass the header write callback function
*/
data->writeheader = (FILE *)va_arg(param, FILE *);
data->writeheader = (void *)va_arg(param, void *);
break;
case CURLOPT_COOKIE:
/*
......
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