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
f07ac99d
Commit
f07ac99d
authored
Aug 19, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhttp/tests: Use the global wine_dbgstr_w instead of a local variant.
parent
203bf6c8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
url.c
dlls/winhttp/tests/url.c
+1
-8
No files found.
dlls/winhttp/tests/url.c
View file @
f07ac99d
...
...
@@ -90,13 +90,6 @@ static const WCHAR url_k9[] =
static
const
WCHAR
url_k10
[]
=
{
'h'
,
't'
,
't'
,
'p'
,
':'
,
'/'
,
'/'
,
'w'
,
'i'
,
'n'
,
'e'
,
'h'
,
'q'
,
'/'
,
'p'
,
'o'
,
's'
,
't'
,
';'
,
'a'
,
0
};
static
const
char
*
debugstr_w
(
LPCWSTR
str
)
{
static
char
buf
[
1024
];
WideCharToMultiByte
(
CP_ACP
,
0
,
str
,
-
1
,
buf
,
sizeof
(
buf
),
NULL
,
NULL
);
return
buf
;
}
static
void
fill_url_components
(
URL_COMPONENTS
*
uc
)
{
uc
->
dwStructSize
=
sizeof
(
URL_COMPONENTS
);
...
...
@@ -537,7 +530,7 @@ static void WinHttpCrackUrl_test( void )
ret
=
WinHttpCrackUrl
(
url7
,
0
,
0
,
&
uc
);
ok
(
ret
,
"WinHttpCrackUrl failed
\n
"
);
ok
(
!
memcmp
(
uc
.
lpszHostName
,
winehq
,
sizeof
(
winehq
)
),
"unexpected host name: %s
\n
"
,
debu
gstr_w
(
uc
.
lpszHostName
)
);
ok
(
!
memcmp
(
uc
.
lpszHostName
,
winehq
,
sizeof
(
winehq
)
),
"unexpected host name: %s
\n
"
,
wine_db
gstr_w
(
uc
.
lpszHostName
)
);
ok
(
uc
.
dwHostNameLength
==
14
,
"unexpected host name length: %d
\n
"
,
uc
.
dwHostNameLength
);
ok
(
uc
.
nPort
==
42
,
"unexpected port: %u
\n
"
,
uc
.
nPort
);
...
...
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