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

Commit a42a6b82 authored by Chris Weir's avatar Chris Weir Committed by Android (Google) Code Review
Browse files

Merge "Don't crash on pollerr"

parents 15735b82 8e4e25e0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -55,7 +55,7 @@ void Socket::clearPollErr() {
    if (errno != EINVAL) {
        PLOG(WARNING) << "clearPollError() caught unexpected error: ";
    }
    CHECK_EQ(bytesReceived, 0) << "clearPollError() recvd " << bytesReceived << " instead of zero!";
    CHECK_LE(bytesReceived, 0) << "clearPollError() didn't find an error!";
}

bool Socket::send(const Buffer<nlmsghdr>& msg, const sockaddr_nl& sa) {