system/corennnnn
修订版 | 4cd6e915e5722e32b304992b9c74924452519986 (tree) |
---|---|
时间 | 2009-05-23 01:30:24 |
作者 | Android (Google) Code Review <android-gerrit@goog...> |
Commiter | Android (Google) Code Review |
Merge change 2329
* changes:
@@ -239,7 +239,7 @@ int asocket_write(struct asocket *s, const void *buf, size_t count, | ||
239 | 239 | } |
240 | 240 | |
241 | 241 | if (pfd[0].revents) { |
242 | - if (pfd[0].revents & POLLIN) { | |
242 | + if (pfd[0].revents & POLLOUT) { | |
243 | 243 | /* ready to write() without blocking */ |
244 | 244 | do { |
245 | 245 | ret = write(s->fd, buf, count); |