Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4ec90b2f authored by Elliott Hughes's avatar Elliott Hughes Committed by Android Git Automerger
Browse files

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

* commit '3bbe09a8':
  Fix socket_network_client_timeout error check.
parents 61f9e439 3bbe09a8
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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;
    }
    }