mirror of
https://github.com/curl/curl.git
synced 2026-08-24 22:13:33 +03:00
This makes formposting with a specified file missing fail. curl_easy_perform
will then return CURLE_READ_ERROR.
This commit is contained in:
parent
9549cfde02
commit
95f78080ab
3 changed files with 30 additions and 14 deletions
|
|
@ -53,8 +53,10 @@ typedef struct FormInfo {
|
|||
|
||||
int Curl_FormInit(struct Form *form, struct FormData *formdata );
|
||||
|
||||
struct FormData *Curl_getFormData(struct HttpPost *post,
|
||||
int *size);
|
||||
CURLcode
|
||||
Curl_getFormData(struct FormData **,
|
||||
struct HttpPost *post,
|
||||
int *size);
|
||||
|
||||
/* fread() emulation */
|
||||
int Curl_FormReader(char *buffer,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue