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

am: 53171e5f97

Change-Id: I442495aee3fe8815379efc4f039e98c6d61151f1
This commit is contained in:
Tao Wu 2016-09-22 08:22:28 +00:00 committed by android-build-merger
commit 646a70b1fb

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