Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 445260fe authored by Josh Gao's avatar Josh Gao Committed by android-build-merger
Browse files

Merge "adb: windows: fix writev on sockets." am: 3d0ecde2 am: 09ee10f1 am: d20adcae

am: d7122cfb

Change-Id: Ie5d69c8c03b83ff98a78ec5ad7119e6a44c3296c
parents f9b579f1 d7122cfb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -688,7 +688,7 @@ static int _fh_socket_writev(FH f, const adb_iovec* iov, int iovcnt) {
              android::base::SystemErrorCodeToString(err).c_str());
        }
        _socket_set_errno(err);
        result = -1;
        return -1;
    }
    CHECK_GE(static_cast<DWORD>(std::numeric_limits<int>::max()), bytes_written);
    return static_cast<int>(bytes_written);