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

Commit 4cd6e915 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 2329

* changes:
  Fix bug where ECONNABORTED would have always occured on asocket_write.
parents ad3f0d74 111bfcef
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -239,7 +239,7 @@ int asocket_write(struct asocket *s, const void *buf, size_t count,
    }

    if (pfd[0].revents) {
        if (pfd[0].revents & POLLIN) {
        if (pfd[0].revents & POLLOUT) {
            /* ready to write() without blocking */
            do {
                ret = write(s->fd, buf, count);