Commit ffc30c80 authored by Ferenc Wagner's avatar Ferenc Wagner Committed by Alexandre Julliard

Quote everything for consistency.

RFC 2068 got superseded by RFC 2616.
parent 9ed8857f
...@@ -112,7 +112,7 @@ send_file (const char *name) ...@@ -112,7 +112,7 @@ send_file (const char *name)
char *str; char *str;
int ret; int ret;
/* RFC 2068 */ /* RFC 2616 */
#define SEP "--8<--cut-here--8<--" #define SEP "--8<--cut-here--8<--"
static const char head[] = "POST /submit HTTP/1.0\r\n" static const char head[] = "POST /submit HTTP/1.0\r\n"
"Host: test.winehq.org\r\n" "Host: test.winehq.org\r\n"
...@@ -123,7 +123,7 @@ send_file (const char *name) ...@@ -123,7 +123,7 @@ send_file (const char *name)
"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"; "Content-Type: application/octet-stream\r\n\r\n";
static const char body2[] = "\r\n--" SEP "\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" "Upload File\r\n"
"--" SEP "--\r\n"; "--" SEP "--\r\n";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment