projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afa64ee
)
ARGH the CRLF I removed recently was not only done after the initial
author
Daniel Stenberg
<daniel@haxx.se>
Wed, 6 Feb 2002 15:48:53 +0000
(15:48 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Wed, 6 Feb 2002 15:48:53 +0000
(15:48 +0000)
content-type header, it was used for each part and thus without this it
failed MISERABLY. *smacks forhead*
lib/formdata.c
patch
|
blob
|
history
diff --git
a/lib/formdata.c
b/lib/formdata.c
index
addbdf9
..
b607e57
100644
(file)
--- 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);