https://bugs.winehq.org/show_bug.cgi?id=31438
--- Comment #186 from Heiko lil_tux@web.de --- Created attachment 50384 --> https://bugs.winehq.org/attachment.cgi?id=50384 Reset WSAerror on successful recv
Reset WSAerror/errno value on successful receive operation, like WS2_sendto already does. There're probably some more places to check for missing error value resetting.
This fixes problems with Qt applications, because Qt also checks WSAGetLastError if WSArecv returns 0 and then thinks some old error still is encountered.