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

Commit eabe8af7 authored by Elliott Hughes's avatar Elliott Hughes
Browse files

Fix socket_network_client_timeout error check.

Change-Id: Ia30ffc1a7815c63d247d9ba298c2fe9d7a780af2
parent 3fe6de1c
Loading
Loading
Loading
Loading
+1 −1
Original line number 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;
    *getaddrinfo_error = getaddrinfo(host, port_str, &hints, &addrs);
    if (getaddrinfo_error != 0) {
    if (*getaddrinfo_error != 0) {
        return -1;
    }