diff options
| author | Spencer Low <CompareAndSwap@gmail.com> | 2015-08-05 19:26:50 -0700 |
|---|---|---|
| committer | Spencer Low <CompareAndSwap@gmail.com> | 2015-08-05 19:26:50 -0700 |
| commit | 71635bb966727cf01d1796be7012ba914cd3ebbe (patch) | |
| tree | 6f24ff0b6c983d2a0948b52f5fc09ee01a92edd7 /trusty/coverage/coverage.cpp | |
| parent | 7f2e05e9a3f44528d9fa624da9386b01ccaa54a6 (diff) | |
adb: fix killing of old version of adb process
The original code was:
if (strcmp(__adb_error, "unknown host service") != 0)
But that was changed by 078f0fcf4c63b8d8e8c10a18855eae04ca321e06 to:
if (*error == "unknown host service") {
I think the comparison should be != so that "unknown host service"
falls-through and kills the server, and so if it is some other error,
that the other error is returned immediately.
Change-Id: Ia490a4a870d1d123a3c5ab258dd5fa0930e8032d
Signed-off-by: Spencer Low <CompareAndSwap@gmail.com>
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions
