commit | 485153bf4424a542c7fbe67a49f50a7982e0a906 | [log] [tgz] |
---|---|---|
author | Tao Wu <lepton@google.com> | Thu Sep 22 22:53:25 2016 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Thu Sep 22 22:53:25 2016 +0000 |
tree | e49fd0f43d3fdfdb2b9151f624a399fce8b92219 | |
parent | 0e0cf74c52af25fb220bac24c1b6b31721c27948 [diff] | |
parent | 298571ec199c44b341aa183d09b1bb9338adc6fd [diff] |
Merge "We should break from loop after getting connected." am: 53171e5f97 am: 646a70b1fb am: 298571ec19 Change-Id: I16093f42b297abdd94e97cd26219d86d4a465f09
diff --git a/libcutils/socket_network_client_unix.c b/libcutils/socket_network_client_unix.c index 46818d6..37851b1 100644 --- a/libcutils/socket_network_client_unix.c +++ b/libcutils/socket_network_client_unix.c
@@ -112,6 +112,7 @@ } result = toggle_O_NONBLOCK(s); + break; } freeaddrinfo(addrs);