Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexey Alyaev
wine
Commits
f07ac99d
Commit
f07ac99d
authored
15 years ago
by
Alexandre Julliard
Browse files
Options
Downloads
Patches
Plain Diff
winhttp/tests: Use the global wine_dbgstr_w instead of a local variant.
parent
203bf6c8
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dlls/winhttp/tests/url.c
+1
-8
1 addition, 8 deletions
dlls/winhttp/tests/url.c
with
1 addition
and
8 deletions
dlls/winhttp/tests/url.c
+
1
−
8
View file @
f07ac99d
...
@@ -90,13 +90,6 @@ static const WCHAR url_k9[] =
...
@@ -90,13 +90,6 @@ static const WCHAR url_k9[] =
static
const
WCHAR
url_k10
[]
=
static
const
WCHAR
url_k10
[]
=
{
'h'
,
't'
,
't'
,
'p'
,
':'
,
'/'
,
'/'
,
'w'
,
'i'
,
'n'
,
'e'
,
'h'
,
'q'
,
'/'
,
'p'
,
'o'
,
's'
,
't'
,
';'
,
'a'
,
0
};
{
'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
)
static
void
fill_url_components
(
URL_COMPONENTS
*
uc
)
{
{
uc
->
dwStructSize
=
sizeof
(
URL_COMPONENTS
);
uc
->
dwStructSize
=
sizeof
(
URL_COMPONENTS
);
...
@@ -537,7 +530,7 @@ static void WinHttpCrackUrl_test( void )
...
@@ -537,7 +530,7 @@ static void WinHttpCrackUrl_test( void )
ret
=
WinHttpCrackUrl
(
url7
,
0
,
0
,
&
uc
);
ret
=
WinHttpCrackUrl
(
url7
,
0
,
0
,
&
uc
);
ok
(
ret
,
"WinHttpCrackUrl failed
\n
"
);
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
.
dwHostNameLength
==
14
,
"unexpected host name length: %d
\n
"
,
uc
.
dwHostNameLength
);
ok
(
uc
.
nPort
==
42
,
"unexpected port: %u
\n
"
,
uc
.
nPort
);
ok
(
uc
.
nPort
==
42
,
"unexpected port: %u
\n
"
,
uc
.
nPort
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment