From 939866faabe8b1827d990f68e15b9d12ceb7fb06 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 12 May 2004 06:27:40 +0000 Subject: [PATCH] Left-over from before the return-code fix. This is probably the code that causes xlc and gcc act differently on AIX. --- lib/formdata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;