ws2_32/tests: Avoid usage of inet_ntoa since it's returns is static

Bruno Jesus 00cpxxx at
Sat Mar 31 15:16:06 CDT 2012

As seen in for win7 a test that is supposed to pass is failing:
sock.c:4723: Test failed: Local socket address is different !=

But that text does not make any sense... Further study showed I was
using inet_ntoa twice in the ok() call but inet_ntoa returns static
memory so the ok() dump the same ip twice. Now I'm backing up one of
the ips so it does not happen anymore.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ws2_32-tests-fix-a-test.patch
Type: application/octet-stream
Size: 1900 bytes
Desc: not available
URL: <>

More information about the wine-patches mailing list