projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8563115
)
corrected the read-callback typecase since FILE * was replaced with void *
author
Daniel Stenberg
<daniel@haxx.se>
Mon, 7 May 2001 12:38:28 +0000
(12:38 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Mon, 7 May 2001 12:38:28 +0000
(12:38 +0000)
lib/http.c
patch
|
blob
|
history
diff --git
a/lib/http.c
b/lib/http.c
index
1f17b9c
..
4984d68
100644
(file)
--- 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;