Marcus Meissner : ws2_32: Use correct buffer for 17 byte write.
Alexandre Julliard
julliard at winehq.org
Mon Nov 9 15:14:13 CST 2009
Module: wine
Branch: master
Commit: 94efd487f0d7b3c9b7dd349099cac610a41fe05a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=94efd487f0d7b3c9b7dd349099cac610a41fe05a
Author: Marcus Meissner <meissner at suse.de>
Date: Sat Nov 7 14:06:10 2009 +0100
ws2_32: Use correct buffer for 17 byte write.
---
dlls/ws2_32/tests/sock.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c
index 518ab4a..98b94e8 100644
--- a/dlls/ws2_32/tests/sock.c
+++ b/dlls/ws2_32/tests/sock.c
@@ -2443,7 +2443,7 @@ static void test_addr_to_print(void)
/* Test longer length is ok */
WSASetLastError(0);
pdst = NULL;
- pdst = pInetNtop(AF_INET6, (void*)&in6.s6_addr, dst, 18);
+ pdst = pInetNtop(AF_INET6, (void*)&in6.s6_addr, dst6, 18);
ok(pdst != NULL, "The pointer should be returned (%p)\n", pdst);
}
More information about the wine-cvs
mailing list