Skip to content
Snippets Groups Projects
Commit 4ff3b205 authored by Ove Kåven's avatar Ove Kåven Committed by Alexandre Julliard
Browse files

WSACleanup should set last error to WSANOTINITIALISED if failing

because Winsock was not initialized...
parent 09ee5d0a
No related branches found
No related tags found
No related merge requests found
......@@ -606,6 +606,7 @@ INT WINAPI WSACleanup(void)
WINSOCK_DeleteIData();
return 0;
}
SetLastError(WSANOTINITIALISED);
return SOCKET_ERROR;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment