winetest: Use a more unique separator string (take 2)
Ferenc Wagner
wferi at afavant.elte.hu
Fri Oct 1 17:28:42 CDT 2004
So let me try to be consistent...
Index: programs/winetest/send.c
===================================================================
RCS file: /home/wine/wine/programs/winetest/send.c,v
retrieving revision 1.13
diff -u -r1.13 send.c
--- programs/winetest/send.c 18 Aug 2004 20:56:00 -0000 1.13
+++ programs/winetest/send.c 1 Oct 2004 22:25:35 -0000
@@ -113,17 +113,17 @@
int ret;
/* RFC 2068 */
-#define SEP "-"
+#define SEP "--8<--cut-here--8<--"
static const char head[] = "POST /submit HTTP/1.0\r\n"
"Host: test.winehq.org\r\n"
"User-Agent: Winetest Shell\r\n"
- "Content-Type: multipart/form-data; boundary=" SEP "\r\n"
+ "Content-Type: multipart/form-data; boundary=\"" SEP "\"\r\n"
"Content-Length: %u\r\n\r\n";
static const char body1[] = "--" SEP "\r\n"
- "Content-Disposition: form-data; name=reportfile; filename=\"%s\"\r\n"
+ "Content-Disposition: form-data; name=\"reportfile\"; filename=\"%s\"\r\n"
"Content-Type: application/octet-stream\r\n\r\n";
static const char body2[] = "\r\n--" SEP "\r\n"
- "Content-Disposition: form-data; name=submit\r\n\r\n"
+ "Content-Disposition: form-data; name=\"submit\"\r\n\r\n"
"Upload File\r\n"
"--" SEP "--\r\n";
More information about the wine-patches
mailing list