diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-04-15 11:19:03 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-04-15 11:19:03 +0000 |
commit | 95f78080abd4a07f95e1aa06737e1faa854614c7 (patch) | |
tree | e977171c4da5025a27eb5a3e1a4dff4091c54105 /lib/formdata.h | |
parent | 9549cfde02d72812c5cc1ce241955382b5bc371f (diff) | |
download | curl-95f78080abd4a07f95e1aa06737e1faa854614c7.tar.gz |
This makes formposting with a specified file missing fail. curl_easy_perform
will then return CURLE_READ_ERROR.
Diffstat (limited to 'lib/formdata.h')
-rw-r--r-- | lib/formdata.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/formdata.h b/lib/formdata.h index 3dad243a3..1657f4122 100644 --- a/lib/formdata.h +++ b/lib/formdata.h @@ -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, |