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

Commit 4dc88ea3 authored by Elliott Hughes's avatar Elliott Hughes Committed by Android Git Automerger
Browse files

am 496fc30d: am af2cd21d: Merge "When new error happend,then errno should be...

am 496fc30d: am af2cd21d: Merge "When new error happend,then errno should be updated accordingly. Otherwise, need to keep previous errno."

* commit '496fc30d':
  When new error happend,then errno should be updated accordingly. Otherwise, need to keep previous errno.
parents 70599eba 496fc30d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -220,6 +220,7 @@ int SocketClient::sendDataLockedv(struct iovec *iov, int iovcnt) {

    sigaction(SIGPIPE, &old_action, &new_action);

    if ( e != 0 )
        errno = e;
    return ret;
}