diff options
Diffstat (limited to 'qemu-char-android.c')
-rw-r--r-- | qemu-char-android.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-char-android.c b/qemu-char-android.c index 05f80e7..671314b 100644 --- a/qemu-char-android.c +++ b/qemu-char-android.c @@ -494,7 +494,7 @@ int send_all(int fd, const void *buf, int len1) ret = send(fd, buf, len, 0); if (ret < 0) { errno = WSAGetLastError(); - if (errno != WSAEWOULDBLOCK) { + if (errno != WSAEWOULDBLOCK && errno != WSAEAGAIN) { return -1; } } else if (ret == 0) { |