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

Commit d7122cfb 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

Change-Id: I8a6204853b532422731921cc18af94a85e02ea3c
parents 9fcfe93d d20adcae
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);