Merge "We should break from loop after getting connected." am: 53171e5f97 am: 646a70b1fb

am: 298571ec19

Change-Id: I16093f42b297abdd94e97cd26219d86d4a465f09
This commit is contained in:
Tao Wu 2016-09-22 22:53:25 +00:00 committed by android-build-merger
commit 485153bf44

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