diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-08-06 08:18:15 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-08-06 08:18:15 +0000 |
commit | 5ab1a10e9c1526cf48a9f6691bf1b91f9fd7e912 (patch) | |
tree | 576cefb3e7337ee787ec236d47e51ac3539f668f | |
parent | 1813d2ddf78be02b529e612fe282475ef3822beb (diff) |
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...
-rw-r--r-- | lib/url.c | 4 |
1 files changed, 2 insertions, 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: /* |