diff options
Diffstat (limited to 'libs/adbd_auth/adbd_auth.cpp')
-rw-r--r-- | libs/adbd_auth/adbd_auth.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/adbd_auth/adbd_auth.cpp b/libs/adbd_auth/adbd_auth.cpp index 15bd5c3913..dae6eebaa5 100644 --- a/libs/adbd_auth/adbd_auth.cpp +++ b/libs/adbd_auth/adbd_auth.cpp @@ -282,8 +282,9 @@ public: LOG(FATAL) << "adbd_auth: unhandled packet type?"; } - ssize_t rc = writev(framework_fd_.get(), iovs, iovcnt); output_queue_.pop_front(); + + ssize_t rc = writev(framework_fd_.get(), iovs, iovcnt); if (rc == -1 && errno != EAGAIN && errno != EWOULDBLOCK) { PLOG(ERROR) << "adbd_auth: failed to write to framework fd"; ReplaceFrameworkFd(unique_fd()); |