summaryrefslogtreecommitdiff
path: root/lib/formdata.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-04-15 11:19:03 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-04-15 11:19:03 +0000
commit95f78080abd4a07f95e1aa06737e1faa854614c7 (patch)
treee977171c4da5025a27eb5a3e1a4dff4091c54105 /lib/formdata.h
parent9549cfde02d72812c5cc1ce241955382b5bc371f (diff)
downloadcurl-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.h6
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,