From: Daniel Stenberg Date: Wed, 6 Feb 2002 15:48:53 +0000 (+0000) Subject: ARGH the CRLF I removed recently was not only done after the initial X-Git-Tag: curl-7_9_5-pre2~42 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b544c5fa5c7474bcf792969934564e0446334134;p=curl ARGH the CRLF I removed recently was not only done after the initial content-type header, it was used for each part and thus without this it failed MISERABLY. *smacks forhead* --- diff --git a/lib/formdata.c b/lib/formdata.c index addbdf9d1..b607e57bd 100644 --- a/lib/formdata.c +++ b/lib/formdata.c @@ -1065,6 +1065,9 @@ struct FormData *Curl_getFormData(struct HttpPost *post, do { + if(size) + size += AddFormDataf(&form, "\r\n"); + /* boundary */ size += AddFormDataf(&form, "--%s\r\n", boundary);