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
9d481a1f
Commit
9d481a1f
authored
Nov 23, 2020
by
Gabriel Ivăncescu
Committed by
Alexandre Julliard
Dec 03, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
iphlpapi/tests: Trace the ICMP reply only with debug level > 1.
Signed-off-by:
Gabriel Ivăncescu
<
gabrielopcode@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
7d451c33
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
iphlpapi.c
dlls/iphlpapi/tests/iphlpapi.c
+5
-5
No files found.
dlls/iphlpapi/tests/iphlpapi.c
View file @
9d481a1f
...
...
@@ -996,7 +996,11 @@ static void testIcmpSendEcho(void)
address
=
htonl
(
INADDR_LOOPBACK
);
ret
=
IcmpSendEcho
(
icmp
,
address
,
senddata
,
sizeof
(
senddata
),
NULL
,
replydata
,
replysz
,
1000
);
error
=
GetLastError
();
if
(
ret
)
if
(
!
ret
)
{
skip
(
"Failed to ping with error %d, is lo interface down?.
\n
"
,
error
);
}
else
if
(
winetest_debug
>
1
)
{
PICMP_ECHO_REPLY
pong
=
(
PICMP_ECHO_REPLY
)
replydata
;
trace
(
"send addr : %s
\n
"
,
ntoa
(
address
));
...
...
@@ -1008,10 +1012,6 @@ static void testIcmpSendEcho(void)
trace
(
"ttl : %u
\n
"
,
pong
->
Options
.
Ttl
);
trace
(
"flags : 0x%x
\n
"
,
pong
->
Options
.
Flags
);
}
else
{
skip
(
"Failed to ping with error %d, is lo interface down?.
\n
"
,
error
);
}
/* check reply data */
SetLastError
(
0xdeadbeef
);
...
...
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