summaryrefslogtreecommitdiff
path: root/base/errors_unix.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-10-23 21:06:11 -0700
committerElliott Hughes <enh@google.com>2015-10-23 22:27:11 -0700
commit8b43c3e65a05aff709a7e62a85198cdd7abfa88f (patch)
tree2b36f65f30c6e0befbe51610832f9df521e03c95 /base/errors_unix.cpp
parent69ccb9532cb822685d27142a5117d881be21ab01 (diff)
Fix adb sync/pull/push error reporting.
I fixed the server side to send detailed error reports, but the client-side code for pull was broken because it had already read the "FAIL" header before calling the general error reporting code that expects to be able to read the header. This meant we'd always report that we failed to read the failure message. Also add a couple of missing "\n"s, make sure every error message is prefixed by "adb: ", and remove a useless path length check that would silently ignore over-long paths rather than relying on SendRequest to detect and report the problem. Bug: http://b/6205106 Change-Id: I23862ececf03b761115ffa3f7725b7e1cecb48c7
Diffstat (limited to 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions