This makes formposting with a specified file missing fail. curl_easy_perform

will then return CURLE_READ_ERROR.
This commit is contained in:
Daniel Stenberg 2002-04-15 11:19:03 +00:00
parent 9549cfde02
commit 95f78080ab
3 changed files with 30 additions and 14 deletions

View file

@ -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,