commit | 73308830a63c4b36faa3652c878139404b267ce7 | [log] [tgz] |
---|---|---|
author | Greg Kaiser <gkaiser@google.com> | Mon Mar 18 14:01:02 2019 -0700 |
committer | android-build-merger <android-build-merger@google.com> | Mon Mar 18 14:01:02 2019 -0700 |
tree | 0d14430080c0fcd010673c0a0de2f2c7b824894d | |
parent | 53fabb5a09c5c2936afe80b4e9f3e3101cd97cbb [diff] | |
parent | 2925a580e948da75cc181c5e8206b9ad9ef73368 [diff] |
Merge "adb: Fix return value in error case" am: 2925a580e9 Change-Id: I6fa794d11212e77650f6ffcfd7ee2e80092a9e0a
diff --git a/adb/client/adb_client.cpp b/adb/client/adb_client.cpp index 9fa827d..5a7bc8d 100644 --- a/adb/client/adb_client.cpp +++ b/adb/client/adb_client.cpp
@@ -259,7 +259,7 @@ if (fd >= 0) { std::string version_string; if (!ReadProtocolString(fd, &version_string, error)) { - return -1; + return false; } ReadOrderlyShutdown(fd);