ws2_32: Use correct buffer for 17 byte write.

This commit is contained in:
Marcus Meissner 2009-11-07 14:06:10 +01:00 committed by Alexandre Julliard
parent 556b1ca7ed
commit 94efd487f0
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}