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
5ea47faf
Commit
5ea47faf
authored
Aug 10, 2006
by
Andrew Talbot
Committed by
Alexandre Julliard
Aug 11, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet/tests: Write-strings warnings fix.
parent
2aed652c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
http.c
dlls/wininet/tests/http.c
+5
-3
No files found.
dlls/wininet/tests/http.c
View file @
5ea47faf
...
...
@@ -906,7 +906,7 @@ static DWORD CALLBACK server_thread(LPVOID param)
return
0
;
}
static
void
test_basic_request
(
int
port
,
char
*
url
)
static
void
test_basic_request
(
int
port
,
c
onst
c
har
*
url
)
{
HINTERNET
hi
,
hc
,
hr
;
DWORD
r
,
count
;
...
...
@@ -999,6 +999,8 @@ static void test_proxy_direct(int port)
HINTERNET
hi
,
hc
,
hr
;
DWORD
r
,
sz
;
char
buffer
[
0x40
];
static
CHAR
username
[]
=
"mike"
,
password
[]
=
"1101"
;
sprintf
(
buffer
,
"localhost:%d
\n
"
,
port
);
hi
=
InternetOpen
(
NULL
,
INTERNET_OPEN_TYPE_PROXY
,
buffer
,
NULL
,
0
);
...
...
@@ -1022,10 +1024,10 @@ static void test_proxy_direct(int port)
/* set the user + password then try again */
todo_wine
{
r
=
InternetSetOption
(
hr
,
INTERNET_OPTION_PROXY_USERNAME
,
"mike"
,
4
);
r
=
InternetSetOption
(
hr
,
INTERNET_OPTION_PROXY_USERNAME
,
username
,
4
);
ok
(
r
,
"failed to set user
\n
"
);
r
=
InternetSetOption
(
hr
,
INTERNET_OPTION_PROXY_PASSWORD
,
"1101"
,
4
);
r
=
InternetSetOption
(
hr
,
INTERNET_OPTION_PROXY_PASSWORD
,
password
,
4
);
ok
(
r
,
"failed to set password
\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