commit | 5b5d0ab0b6991d0f4e598ed0a0926a95f459609f | [log] [tgz] |
---|---|---|
author | Sergey Ulanov <sergeyu@google.com> | Mon May 14 18:34:01 2018 -0700 |
committer | Sergey Ulanov <sergeyu@google.com> | Mon May 14 18:34:01 2018 -0700 |
tree | ccfb9384cb77ce2fde56189e05187105f11a8e43 | |
parent | f113d72e8237b983d4d90d501c78230fa068003e [diff] |
[SSH] Fix error handling fuchsia_select() select() normally returns -1 and sets errno to report errors. fuchsia_select() was instead returning a EINVAL or EBADF to report errors. EINVAL and EBADF are positive, so the caller cannot distinguish them from actual errors. Fixed it to report errors consistenly with select(). Change-Id: I4393a782313d11a8f3a26fd1a3cba084242998da