aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-05-12 06:27:40 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-05-12 06:27:40 +0000
commit939866faabe8b1827d990f68e15b9d12ceb7fb06 (patch)
treec6064ad3c4b91bf74cfd4095f0f142c613bd3ce1
parent98f968f2eef9adc29f1702c09bd7d6306e338a55 (diff)
Left-over from before the return-code fix. This is probably the code that
causes xlc and gcc act differently on AIX.
-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;