summaryrefslogtreecommitdiffstats
path: root/adb/transport.c
diff options
context:
space:
mode:
Diffstat (limited to 'adb/transport.c')
-rw-r--r--adb/transport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/adb/transport.c b/adb/transport.c
index 58f685c..f35880c 100644
--- a/adb/transport.c
+++ b/adb/transport.c
@@ -1188,7 +1188,7 @@ int writex(int fd, const void *ptr, size_t len)
D("writex: fd=%d error %d: %s\n", fd, errno, strerror(errno));
if (errno == EINTR)
continue;
- if (errno == EAGAIN || errno == EWOULDBLOCK) {
+ if (errno == EAGAIN) {
adb_sleep_ms(1); // just yield some cpu time
continue;
}