aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-05-07 12:38:28 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-05-07 12:38:28 +0000
commit89ba66e071ba23d6cd20a714217432e6c3845eda (patch)
tree54bd17116b210d6670f153b34cbf0bb08fdc6b83 /lib
parent85631150ceb7d107db83d2a062f9639f0644db6e (diff)
corrected the read-callback typecase since FILE * was replaced with void *
Diffstat (limited to 'lib')
-rw-r--r--lib/http.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/http.c b/lib/http.c
index 1f17b9c00..4984d684d 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -718,8 +718,7 @@ CURLcode Curl_http(struct connectdata *conn)
http->storefread = data->fread; /* backup */
http->in = data->in; /* backup */
- data->fread =
- (size_t (*)(char *, size_t, size_t, FILE *))
+ data->fread = (curl_read_callback)
Curl_FormReader; /* set the read function to read from the
generated form data */
data->in = (FILE *)&http->form;