Commit 4fe1be14 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

wininet: Properly handle EWOULDBLOCK return from connect().

parent f3e02c2f
......@@ -330,7 +330,7 @@ static DWORD create_netconn_socket(server_t *server, netconn_t *netconn, DWORD t
result = connect(netconn->socket, (struct sockaddr*)&server->addr, server->addr_len);
if(result == -1)
{
if (sock_get_error() == WSAEINPROGRESS) {
if (sock_get_error() == WSAEINPROGRESS || sock_get_error() == WSAEWOULDBLOCK) {
struct pollfd pfd;
int res;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment