ws2_32/tests: Test the precedence of parameters while creating a socket in WSASocket()
Thomas Faber
thfabba at gmx.de
Wed Jul 31 08:21:26 CDT 2013
On 2013-07-31 02:48, Bruno Jesus wrote:
> + ok(!getsockopt(sock, SOL_SOCKET, SO_TYPE, (char *) &socktype, &size), "getsockopt failed with %d\n",
> + WSAGetLastError());
It's not guaranteed that getsockopt is called before WSAGetLastError
here. (in fact the latter will be evaluated first with most practically
used calling conventions)
So this needs a variable.
Best,
Thomas
More information about the wine-devel
mailing list