commit | 4cd6e915e5722e32b304992b9c74924452519986 | [log] [tgz] |
---|---|---|
author | Android (Google) Code Review <android-gerrit@google.com> | Fri May 22 09:30:24 2009 -0700 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Fri May 22 09:30:24 2009 -0700 |
tree | f9d92e46cae129c9e3edc988028e34c0aafc6e7a | |
parent | ad3f0d74b4d0c52a819b0b4b242f26bd4ce07bc9 [diff] | |
parent | 111bfcefc3cf0f14ad607a56fcf5d076131833a9 [diff] |
Merge change 2329 * changes: Fix bug where ECONNABORTED would have always occured on asocket_write.
diff --git a/libcutils/abort_socket.c b/libcutils/abort_socket.c index d732142..6a5e5e4 100644 --- a/libcutils/abort_socket.c +++ b/libcutils/abort_socket.c
@@ -239,7 +239,7 @@ } 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);