Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
ffc30c80
Commit
ffc30c80
authored
Oct 05, 2004
by
Ferenc Wagner
Committed by
Alexandre Julliard
Oct 05, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Quote everything for consistency.
RFC 2068 got superseded by RFC 2616.
parent
9ed8857f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
send.c
programs/winetest/send.c
+2
-2
No files found.
programs/winetest/send.c
View file @
ffc30c80
...
@@ -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 2
068
*/
/* RFC 2
616
*/
#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
"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment