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

Commit 12d912bc authored by Elliott Hughes's avatar Elliott Hughes Committed by Android Git Automerger
Browse files

am ed217967: Merge "Fix socket_network_client_timeout error check."

* commit 'ed217967':
  Fix socket_network_client_timeout error check.
parents 038b76c2 ed217967
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;
    }
    }