Module: wine Branch: master Commit: 6b007698d2c2ff62188492c948d431e6f7811215 URL: http://source.winehq.org/git/wine.git/?a=commit;h=6b007698d2c2ff62188492c948...
Author: Kai Blin kai.blin@gmail.com Date: Mon May 5 20:17:57 2008 +0200
ws2_32: On Win98, SO_MAX_MSG_SIZE is 65527, not 65507.
---
dlls/ws2_32/tests/sock.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c index 939bdaa..f511dd2 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);