Merge "Fix socket_network_client_timeout error check."

This commit is contained in:
Elliott Hughes 2015-07-25 01:58:57 +00:00 committed by Gerrit Code Review
commit ed21796754

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