diff options
Diffstat (limited to 'adb_io.cpp')
-rw-r--r-- | adb_io.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -31,7 +31,7 @@ bool SendProtocolString(int fd, const std::string& s) { unsigned int length = s.size(); - if (length > MAX_PAYLOAD_V1 - 4) { + if (length > MAX_PAYLOAD - 4) { errno = EMSGSIZE; return false; } |