Fix socket_network_client_timeout error check.

Change-Id: Ia30ffc1a7815c63d247d9ba298c2fe9d7a780af2
This commit is contained in:
Elliott Hughes 2015-07-24 18:54:02 -07:00
parent 3fe6de1c39
commit eabe8af7e3
1 changed files with 1 additions and 1 deletions

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