diff options
| author | android-build-team Robot <android-build-team-robot@google.com> | 2018-04-22 07:26:39 +0000 |
|---|---|---|
| committer | android-build-team Robot <android-build-team-robot@google.com> | 2018-04-22 07:26:39 +0000 |
| commit | cb08fa676d21fbd54818bc150f292bc4fed32024 (patch) | |
| tree | 7ab17fc85b21f6a3104c7e52b99bf4de09e96df4 /adb/adb.cpp | |
| parent | e734ba4fe5f000a46d20b0c140506d495054d871 (diff) | |
| parent | 564e3581cb72d117f25d2d729af2af922e86e0f1 (diff) | |
Snap for 4736748 from 564e3581cb72d117f25d2d729af2af922e86e0f1 to pi-release
Change-Id: I6cfdd045ba193d17a4c8ec896e799becdb094948
Diffstat (limited to 'adb/adb.cpp')
| -rw-r--r-- | adb/adb.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/adb/adb.cpp b/adb/adb.cpp index 70e083b5f7..c791c7b6c7 100644 --- a/adb/adb.cpp +++ b/adb/adb.cpp @@ -1222,7 +1222,7 @@ int handle_host_request(const char* service, TransportType type, const char* ser std::string error; atransport* t = acquire_one_transport(type, serial, transport_id, nullptr, &error); if (!t) { - return SendFail(reply_fd, error); + return -1; } int ret = handle_forward_request(service, t, reply_fd); |
