Merge "We should break from loop after getting connected."

This commit is contained in:
Treehugger Robot 2016-09-22 06:41:49 +00:00 committed by Gerrit Code Review
commit 53171e5f97
1 changed files with 1 additions and 0 deletions

View File

@ -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);