commit | 12c0e8177749915bf3c640c2ddc2a7a09ed492fa | [log] [tgz] |
---|---|---|
author | Greg Kaiser <gkaiser@google.com> | Mon Mar 18 07:00:00 2019 -0700 |
committer | Greg Kaiser <gkaiser@google.com> | Mon Mar 18 07:00:00 2019 -0700 |
tree | 04ca212a1666c5654b168e60fc03f8a3c8250418 | |
parent | 4bcb23a4abf0e64322e520fb19a216a95cc93b4c [diff] |
adb: Fix return value in error case When we introduced __adb_check_server_version() as a function returning a 'bool', we missed missed converting once instance of "return -1;" to "return false;". Thus, we're returning 'true' in this case as our non-zero value gets implicitly converted to 'true'. We fix this case as well with this CL. Test: TreeHugger Change-Id: I90b01567d927f36d2d963561b676b3bfabfcee49