winetest: Use a more unique separator string (take 2)

Ferenc Wagner wferi at afavant.elte.hu
Mon Oct 4 17:53:10 CDT 2004


Hi Alexandre,

looks like I managed to create some confusion.  To clear it
up: (take 2) contained all the differences I made to send.c,
the first patch being part of it.  Find below a progressive
version against current CVS!

Feri.

ChangeLog: * Quote everything for consistency.
           * RFC 2068 got superseded by RFC 2616.

Index: programs/winetest/send.c
===================================================================
RCS file: /home/wine/wine/programs/winetest/send.c,v
retrieving revision 1.14
diff -u -r1.14 send.c
--- programs/winetest/send.c	4 Oct 2004 19:28:59 -0000	1.14
+++ programs/winetest/send.c	4 Oct 2004 22:32:51 -0000
@@ -112,7 +112,7 @@
     char *str;
     int ret;
 
-    /* RFC 2068 */
+    /* RFC 2616 */
 #define SEP "--8<--cut-here--8<--"
     static const char head[] = "POST /submit HTTP/1.0\r\n"
         "Host: test.winehq.org\r\n"
@@ -123,7 +123,7 @@
         "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