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

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

Merge "libbinder: return error correctly in RpcTransportTipcAndroid" am: 62bb50a6

parents f00a433c 62bb50a6
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -103,7 +103,10 @@ public:
            // read and call readFn as many times as needed to get all the data
            status_t ret = fillReadBuffer();
            if (ret != OK) {
                return ret;
                // We need to emulate a Linux read call, which sets errno on
                // error and returns -1
                errno = -ret;
                return -1;
            }

            ssize_t processSize = 0;