aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/coroutine/engine
diff options
context:
space:
mode:
authorsgrb <sgrb@yandex-team.ru>2022-02-10 16:49:47 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:47 +0300
commit1485f03dbdc4314901c6ccea1fe17cc6943dea63 (patch)
tree8fb6170aacbf489b4c0eddec9304be76e363624f /library/cpp/coroutine/engine
parent621a17b75565a8d70df465a0ac5c93a7c6d2e61f (diff)
downloadydb-1485f03dbdc4314901c6ccea1fe17cc6943dea63.tar.gz
Restoring authorship annotation for <sgrb@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/coroutine/engine')
-rw-r--r--library/cpp/coroutine/engine/poller.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/coroutine/engine/poller.cpp b/library/cpp/coroutine/engine/poller.cpp
index 61164fa56b..c22bc8cd40 100644
--- a/library/cpp/coroutine/engine/poller.cpp
+++ b/library/cpp/coroutine/engine/poller.cpp
@@ -282,8 +282,8 @@ namespace {
if (ev & POLLERR) {
status = EIO;
- } else if (ev & POLLHUP && pfd.events & POLLOUT) {
- // Only write operations may cause EPIPE
+ } else if (ev & POLLHUP && pfd.events & POLLOUT) {
+ // Only write operations may cause EPIPE
status = EPIPE;
} else if (ev & POLLNVAL) {
status = EINVAL;