Merge "We should break from loop after getting connected."
This commit is contained in:
commit
53171e5f97
|
@ -112,6 +112,7 @@ int socket_network_client_timeout(const char* host, int port, int type, int time
|
|||
}
|
||||
|
||||
result = toggle_O_NONBLOCK(s);
|
||||
break;
|
||||
}
|
||||
|
||||
freeaddrinfo(addrs);
|
||||
|
|
Loading…
Reference in New Issue