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

Commit af2cd21d authored by Elliott Hughes's avatar Elliott Hughes Committed by Gerrit Code Review
Browse files

Merge "When new error happend,then errno should be updated accordingly....

Merge "When new error happend,then errno should be updated accordingly. Otherwise, need to keep previous errno."
parents ae52248f 4df4dfed
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;
}