am 12d912bc: am ed217967: Merge "Fix socket_network_client_timeout error check."

* commit '12d912bc4facd9490becd9d1306a54fd079a8800':
  Fix socket_network_client_timeout error check.
This commit is contained in:
Elliott Hughes 2015-07-25 03:06:47 +00:00 committed by Android Git Automerger
commit 3dced0d2c6

View file

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