aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/formdata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/formdata.c b/lib/formdata.c
index ebf4d4e88..60971ffa4 100644
--- a/lib/formdata.c
+++ b/lib/formdata.c
@@ -944,7 +944,7 @@ CURLcode Curl_getFormData(struct FormData **finalform,
if (result)
break;
- size += AddFormData(&form, "\"", 0, &size);
+ result = AddFormData(&form, "\"", 0, &size);
if (result)
break;