From 6b007698d2c2ff62188492c948d431e6f7811215 Mon Sep 17 00:00:00 2001 From: Kai Blin Date: Mon, 5 May 2008 20:17:57 +0200 Subject: [PATCH] ws2_32: On Win98, SO_MAX_MSG_SIZE is 65527, not 65507. --- dlls/ws2_32/tests/sock.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c index 939bdaa7479..f511dd289b1 100644 --- a/dlls/ws2_32/tests/sock.c +++ b/dlls/ws2_32/tests/sock.c @@ -1663,7 +1663,8 @@ static void test_extendedSocketOptions(void) ret = getsockopt(sock, SOL_SOCKET, SO_MAX_MSG_SIZE, (char *)&optval, &optlen); ok(ret == 0, "getsockopt failed to query SO_MAX_MSG_SIZE, return value is 0x%08x\n", ret); - ok(optval == 65507, "SO_MAX_MSG_SIZE reported %d, expected 65507\n", optval); + ok((optval == 65507) || (optval == 65527), + "SO_MAX_MSG_SIZE reported %d, expected 65507 or 65507\n", optval); optlen = sizeof(LINGER); ret = getsockopt(sock, SOL_SOCKET, SO_LINGER, (char *)&linger_val, &optlen); -- 2.11.4.GIT