commit | acbe1e225d136a675e698ab5f6cf1e4d971a1588 | [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 | af6b005b9dec8c8946496dcea5c4599196b96483 | |
parent | d2fbd5cd896ffaf7b6778e4f6f700ee504bf90f4 [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