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

Commit 496fc30d authored by Elliott Hughes's avatar Elliott Hughes Committed by Android Git Automerger
Browse files

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

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

* commit 'af2cd21d':
  When new error happend,then errno should be updated accordingly. Otherwise, need to keep previous errno.
parents 25fb460a af2cd21d
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;
}