diff options
author | JP Abgrall <jpa@google.com> | 2014-03-07 03:47:03 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-03-07 03:47:03 +0000 |
commit | ecac99b54ce704f282ff6706f8cfada48f41b35c (patch) | |
tree | f27e69eaa42c29e49931ba5ebddded993b59a8a6 /adb | |
parent | 9f573bb362c3716c54df77d85a0285897daa242a (diff) | |
parent | 1367854a891090d1be1edfb12515691b20b350cf (diff) | |
download | system_core-ecac99b54ce704f282ff6706f8cfada48f41b35c.zip system_core-ecac99b54ce704f282ff6706f8cfada48f41b35c.tar.gz system_core-ecac99b54ce704f282ff6706f8cfada48f41b35c.tar.bz2 |
am 1367854a: Merge "adb: fix windows build after "forward --list" fix."
* commit '1367854a891090d1be1edfb12515691b20b350cf':
adb: fix windows build after "forward --list" fix.
Diffstat (limited to 'adb')
-rw-r--r-- | adb/transport.c | 2 |
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; } |