Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
0e7e8787
Commit
0e7e8787
authored
Dec 31, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Dec 31, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet/tests: Constify some character strings.
parent
e7f8e9e8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
http.c
dlls/wininet/tests/http.c
+7
-7
No files found.
dlls/wininet/tests/http.c
View file @
0e7e8787
...
...
@@ -2330,13 +2330,13 @@ static void test_proxy_direct(int port)
DWORD
r
,
sz
,
error
;
char
buffer
[
0x40
],
*
url
;
WCHAR
bufferW
[
0x40
];
static
const
char
url_fmt
[]
=
"http://test.winehq.org:%u/test2"
;
static
CHAR
username
[]
=
"mike"
,
password
[]
=
"1101"
,
useragent
[]
=
"winetest"
,
url_fmt
[]
=
"http://test.winehq.org:%u/test2"
;
static
WCHAR
usernameW
[]
=
{
'm'
,
'i'
,
'k'
,
'e'
,
0
},
passwordW
[]
=
{
'1'
,
'1'
,
'0'
,
'1'
,
0
},
useragentW
[]
=
{
'w'
,
'i'
,
'n'
,
'e'
,
't'
,
'e'
,
's'
,
't'
,
0
};
useragent
[]
=
"winetest"
;
static
const
WCHAR
usernameW
[]
=
{
'm'
,
'i'
,
'k'
,
'e'
,
0
},
passwordW
[]
=
{
'1'
,
'1'
,
'0'
,
'1'
,
0
},
useragentW
[]
=
{
'w'
,
'i'
,
'n'
,
'e'
,
't'
,
'e'
,
's'
,
't'
,
0
};
/* specify proxy type without the proxy and bypass */
SetLastError
(
0xdeadbeef
);
...
...
@@ -2675,8 +2675,8 @@ done:
static
void
test_header_handling_order
(
int
port
)
{
static
char
authorization
[]
=
"Authorization: Basic dXNlcjpwd2Q="
;
static
char
connection
[]
=
"Connection: Close"
;
static
c
onst
c
har
authorization
[]
=
"Authorization: Basic dXNlcjpwd2Q="
;
static
c
onst
c
har
connection
[]
=
"Connection: Close"
;
static
const
char
*
types
[
2
]
=
{
"*"
,
NULL
};
HINTERNET
session
,
connect
,
request
;
...
...
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