corrected the read-callback typecase since FILE * was replaced with void *
This commit is contained in:
Родитель
85631150ce
Коммит
89ba66e071
|
@ -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;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче