Fix socket_network_client_timeout error check.

Change-Id: Ia30ffc1a7815c63d247d9ba298c2fe9d7a780af2
diff --git a/libcutils/socket_network_client.c b/libcutils/socket_network_client.c
index 3610f1b..3300b8f 100644
--- a/libcutils/socket_network_client.c
+++ b/libcutils/socket_network_client.c
@@ -55,7 +55,7 @@
 
     struct addrinfo* addrs;
     *getaddrinfo_error = getaddrinfo(host, port_str, &hints, &addrs);
-    if (getaddrinfo_error != 0) {
+    if (*getaddrinfo_error != 0) {
         return -1;
     }