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

Commit d905f07f authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "0->nullptr." am: 279589cb am: 88cf4b21

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1700334

Change-Id: I23ace3bde76e053fbe69caab0ec15f03ac0a57f7
parents 80dfd730 88cf4b21
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));