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

Commit 00db74df authored by Yifan Hong's avatar Yifan Hong
Browse files

0->nullptr.

Test: pass
Change-Id: I12d499718ca24ba700c822b1599a9e85069a7a4e
parent f2a51609
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -129,8 +129,8 @@ void RpcServer::join() {
    }

    while (true) {
        unique_fd clientFd(
                TEMP_FAILURE_RETRY(accept4(mServer.get(), nullptr, 0 /*length*/, SOCK_CLOEXEC)));
        unique_fd clientFd(TEMP_FAILURE_RETRY(
                accept4(mServer.get(), nullptr, nullptr /*length*/, SOCK_CLOEXEC)));

        if (clientFd < 0) {
            ALOGE("Could not accept4 socket: %s", strerror(errno));