1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

corrected the read-callback typecase since FILE * was replaced with void *

This commit is contained in:
Daniel Stenberg 2001-05-07 12:38:28 +00:00
parent 85631150ce
commit 89ba66e071

View File

@ -718,8 +718,7 @@ CURLcode Curl_http(struct connectdata *conn)
http->storefread = data->fread; /* backup */ http->storefread = data->fread; /* backup */
http->in = data->in; /* backup */ http->in = data->in; /* backup */
data->fread = data->fread = (curl_read_callback)
(size_t (*)(char *, size_t, size_t, FILE *))
Curl_FormReader; /* set the read function to read from the Curl_FormReader; /* set the read function to read from the
generated form data */ generated form data */
data->in = (FILE *)&http->form; data->in = (FILE *)&http->form;