Francois Gouget : ws2_32/tests: Add comments to help identify the hint test indices.
Alexandre Julliard
julliard at winehq.org
Mon Jul 25 16:18:23 CDT 2022
Module: wine
Branch: master
Commit: 5d8d9cd63d46380a74dd7fc09b38fb6e80d44b48
URL: https://gitlab.winehq.org/wine/wine/-/commit/5d8d9cd63d46380a74dd7fc09b38fb6e80d44b48
Author: Francois Gouget <fgouget at free.fr>
Date: Sat Jul 9 16:01:11 2022 +0200
ws2_32/tests: Add comments to help identify the hint test indices.
Signed-off-by: Francois Gouget <fgouget at free.fr>
---
dlls/ws2_32/tests/protocol.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/ws2_32/tests/protocol.c b/dlls/ws2_32/tests/protocol.c
index 0b14543606a..fac3cf57077 100644
--- a/dlls/ws2_32/tests/protocol.c
+++ b/dlls/ws2_32/tests/protocol.c
@@ -1572,7 +1572,7 @@ static const struct addr_hint_tests
}
hinttests[] =
{
- {AF_UNSPEC, SOCK_STREAM, IPPROTO_TCP, 0},
+ {AF_UNSPEC, SOCK_STREAM, IPPROTO_TCP, 0}, /* 0 */
{AF_UNSPEC, SOCK_STREAM, IPPROTO_UDP, 0},
{AF_UNSPEC, SOCK_STREAM, IPPROTO_IPV6,0},
{AF_UNSPEC, SOCK_DGRAM, IPPROTO_TCP, 0},
@@ -1582,7 +1582,7 @@ hinttests[] =
{AF_INET, SOCK_STREAM, IPPROTO_UDP, 0},
{AF_INET, SOCK_STREAM, IPPROTO_IPV6,0},
{AF_INET, SOCK_DGRAM, IPPROTO_TCP, 0},
- {AF_INET, SOCK_DGRAM, IPPROTO_UDP, 0},
+ {AF_INET, SOCK_DGRAM, IPPROTO_UDP, 0}, /* 10 */
{AF_INET, SOCK_DGRAM, IPPROTO_IPV6,0},
{AF_UNSPEC, 0, IPPROTO_TCP, 0},
{AF_UNSPEC, 0, IPPROTO_UDP, 0},
@@ -1592,7 +1592,7 @@ hinttests[] =
{AF_INET, 0, IPPROTO_TCP, 0},
{AF_INET, 0, IPPROTO_UDP, 0},
{AF_INET, 0, IPPROTO_IPV6,0},
- {AF_INET, SOCK_STREAM, 0, 0},
+ {AF_INET, SOCK_STREAM, 0, 0}, /* 20 */
{AF_INET, SOCK_DGRAM, 0, 0},
{AF_UNSPEC, 999, IPPROTO_TCP, WSAESOCKTNOSUPPORT},
{AF_UNSPEC, 999, IPPROTO_UDP, WSAESOCKTNOSUPPORT},
@@ -1602,7 +1602,7 @@ hinttests[] =
{AF_INET, 999, IPPROTO_IPV6,WSAESOCKTNOSUPPORT},
{AF_UNSPEC, SOCK_STREAM, 999, 0},
{AF_UNSPEC, SOCK_STREAM, 999, 0},
- {AF_INET, SOCK_DGRAM, 999, 0},
+ {AF_INET, SOCK_DGRAM, 999, 0}, /* 30 */
{AF_INET, SOCK_DGRAM, 999, 0},
};
More information about the wine-cvs
mailing list