summaryrefslogtreecommitdiffstats
path: root/Source/CTest/Curl/formdata.c
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CTest/Curl/formdata.c')
-rw-r--r--Source/CTest/Curl/formdata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/Curl/formdata.c b/Source/CTest/Curl/formdata.c
index b3503f3..15cbea0 100644
--- a/Source/CTest/Curl/formdata.c
+++ b/Source/CTest/Curl/formdata.c
@@ -1319,7 +1319,7 @@ int Curl_FormReader(char *buffer,
wantedsize = size * nitems;
if(!form->data)
- return -1; /* nothing, error, empty */
+ return 0; /* nothing, error, empty */
do {