From: Daniel Stenberg Date: Wed, 12 May 2004 06:27:40 +0000 (+0000) Subject: Left-over from before the return-code fix. This is probably the code that X-Git-Tag: curl-7_12_0~122 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=939866faabe8b1827d990f68e15b9d12ceb7fb06;p=curl Left-over from before the return-code fix. This is probably the code that causes xlc and gcc act differently on AIX. --- 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;