Merge "We should break from loop after getting connected."
am: 53171e5f97
Change-Id: I442495aee3fe8815379efc4f039e98c6d61151f1
This commit is contained in:
commit
646a70b1fb
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