mirror of
https://github.com/curl/curl.git
synced 2026-07-27 05:58:06 +03:00
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...
This commit is contained in:
parent
1813d2ddf7
commit
5ab1a10e9c
1 changed files with 2 additions and 2 deletions
|
|
@ -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:
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue