ws2_32/tests: Avoid usage of inet_ntoa since it's returns is static
00cpxxx at gmail.com
Sat Mar 31 15:16:06 CDT 2012
As seen in test.winehq.org for win7 a test that is supposed to pass is failing:
sock.c:4723: Test failed: Local socket address is different 0.1.0.0 != 0.1.0.0
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...
Size: 1900 bytes
Desc: not available
More information about the wine-patches