am ed217967: Merge "Fix socket_network_client_timeout error check."

* commit 'ed21796754c4879bedaa1a479ae288dda6dad478':
  Fix socket_network_client_timeout error check.
This commit is contained in:
Elliott Hughes 2015-07-25 02:13:39 +00:00 committed by Android Git Automerger
commit 12d912bc4f

View file

@ -55,7 +55,7 @@ int socket_network_client_timeout(const char* host, int port, int type, int time
struct addrinfo* addrs; struct addrinfo* addrs;
*getaddrinfo_error = getaddrinfo(host, port_str, &hints, &addrs); *getaddrinfo_error = getaddrinfo(host, port_str, &hints, &addrs);
if (getaddrinfo_error != 0) { if (*getaddrinfo_error != 0) {
return -1; return -1;
} }