From: Daniel Stenberg Date: Mon, 6 Aug 2001 08:18:15 +0000 (+0000) Subject: corrected the comment for CURLOPT_WRITEHEADER in setopt(), and made it X-Git-Tag: curl-7_8_1-pre3~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5ab1a10e9c1526cf48a9f6691bf1b91f9fd7e912;p=thirdparty%2Fcurl.git 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... --- diff --git a/lib/url.c b/lib/url.c index 404a26faab..4b5fbb3798 100644 --- a/lib/url.c +++ b/lib/url.c @@ -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: /*