Rein Klazes wrote:
--- wine/dlls/winsock/socket.c 2005-11-24 17:00:02.000000000 +0100 +++ mywine/dlls/winsock/socket.c 2005-11-29 14:58:24.000000000 +0100 @@ -830,8 +830,10 @@ int WINAPI WSAStartup(WORD wVersionReque */ INT WINAPI WSACleanup(void) {
- if (num_startup)
- if (num_startup) {
num_startup = 0; return 0;
- } SetLastError(WSANOTINITIALISED); return SOCKET_ERROR;
}
Hi,
I don't think the patch is quite correct. Attached is a patch that has been sitting in my tree for a while.