Merge "We should break from loop after getting connected." am: 53171e5f97
am: 646a70b1fb
Change-Id: I2fe5ce1bd66c893f3dec4ef8eb8458f935f917ff
This commit is contained in:
commit
298571ec19
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue