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
33a4d901
Commit
33a4d901
authored
Jun 27, 2017
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ws2_32/tests: Print IP addresses as unsigned.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9d38b8ee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sock.c
dlls/ws2_32/tests/sock.c
+2
-2
No files found.
dlls/ws2_32/tests/sock.c
View file @
33a4d901
...
...
@@ -4757,7 +4757,7 @@ static void test_gethostbyname_hack(void)
}
ok
(
memcmp
(
he
->
h_addr_list
[
0
],
loopback
,
he
->
h_length
)
==
0
,
"gethostbyname(
\"
localhost
\"
) returned %
d.%d.%d.%d
\n
"
,
"gethostbyname(
\"
localhost
\"
) returned %
u.%u.%u.%u
\n
"
,
he
->
h_addr_list
[
0
][
0
],
he
->
h_addr_list
[
0
][
1
],
he
->
h_addr_list
[
0
][
2
],
he
->
h_addr_list
[
0
][
3
]);
}
...
...
@@ -4781,7 +4781,7 @@ static void test_gethostbyname_hack(void)
if
(
he
->
h_addr_list
[
0
][
0
]
==
127
)
{
ok
(
memcmp
(
he
->
h_addr_list
[
0
],
magic_loopback
,
he
->
h_length
)
==
0
,
"gethostbyname(
\"
%s
\"
) returned %
d.%d.%d.%d
not 127.12.34.56
\n
"
,
"gethostbyname(
\"
%s
\"
) returned %
u.%u.%u.%u
not 127.12.34.56
\n
"
,
name
,
he
->
h_addr_list
[
0
][
0
],
he
->
h_addr_list
[
0
][
1
],
he
->
h_addr_list
[
0
][
2
],
he
->
h_addr_list
[
0
][
3
]);
}
...
...
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